folio provides a fast, simple abstraction and work-in-progress compiler for the FVM (Financial Virtual Machine).
- lexical analysis
- parsing
- basic code generation and bytecode output
- finalize code generation, and ensure parity with
FVM.ts
example usage of the folio compiler can be found within the /examples folder.
- crates
- cli -> command line interface
- compiler
assembler.rs-> defines the parsercodegen.rs-> code generation moduleopcode/rs-> defines a set of FVM primitive typestoken.rs-> lexical analysis and token definition