source: Deliverables/D2.2/8051/src/utilities/syntacticAnalysis.mli

Last change on this file was 486, checked in by ayache, 9 years ago

Deliverable D2.2

File size: 440 bytes
Line 
1(** This module provides a general gluing function between lexers and
2    parsers. *)
3
4(** [process init lex parse input] initialized a lexing buffer using
5    [init input] and make [lex] and [parse] communicate through it
6    to produce an abstract syntax tree. *)
7val process :
8  lexer_init : ('a -> 'lexbuf) ->
9  lexer_fun  : ('lexbuf -> 'token) ->
10  parser_fun : (('lexbuf -> 'token) -> 'lexbuf -> 'ast) ->
11  input      : 'a ->
12  'ast
Note: See TracBrowser for help on using the repository browser.