Skip to content

Latest commit

 

History

History
17 lines (10 loc) · 534 Bytes

README.md

File metadata and controls

17 lines (10 loc) · 534 Bytes

Build Status

Please note that this project is unstable, eg the APIs and internal logic can be changed.

Build

In order to build MicroC please use Rebar.

./rebar compile

Usage

There is tree different APIs for the lexer, parser, syntax- and semantic analyze:

 > microc:lex(Filename). %% Returns a list with tokens
 > microc:parse(Filename). %% Returns a parse tree
 > microc:analyze(Filename). %% Returns an abstract syntax tree