PreviousUpNext

14.5.16  Lexer

The standard library Lexer api defines access to part of the mythryl-yacc parser-generator support infrastructure.

The Lexer api source code is in src/app/yacc/lib/base.api.

The above information is manually maintained and may contain errors.

api {    package user_declarations : api {
                                    Token (X, Y);
                                    Source_Position ;
                                    Semantic_Value ;
                                };;
    make_lexer : (Int -> String)
                 -> Void
                    -> user_declarations::Token(
                         (user_declarations::Semantic_Value, 
                          user_declarations::Source_Position) );
};


Comments and suggestions to: bugs@mythryl.org

PreviousUpNext