Project

General

Profile

« Previous | Next » 

Revision 535045ab

Added by jemmai (Jemma Issroff) almost 2 years ago

[YARP] Compile basic types (#8311)

  • Add a compile_context arg to yp_compile_node

The compile_context will allow us to pass around the parser, and
the constants and lookup table (to be used in future commits).

  • Compile yp_program_node_t and yp_statements_node_t

Add the compilation for program and statements node so that we can
successfully compile an empty program with YARP.

  • Helper functions for parsing numbers, strings, and symbols

  • Compile basic numeric / boolean node types in YARP

  • Compile StringNode and SymbolNodes in YARP

  • Compile several basic node types in YARP

  • Added error return for missing node