Files
nunuhara_xsystem4/src/tools/ainedit/meson.build
T
Nunuhara Cabbage 897cbde39c ainedit: initial .jaf support
Initial support for compiling .jaf (System 4 language) files. So far
this is limited to adding struct definitions and declaring new globals.
The actual bytecode compilation is not yet implemented.

This Bison grammar is based on a C grammar and should cover 95% of the
System 4 language syntax already, though many AST nodes are not yet
implemented.
2020-06-10 21:23:00 -07:00

24 lines
654 B
Meson

# sources for ainedit
ainedit = ['../../cJSON.c',
'../conv.c',
'ainedit.c',
'asm.c',
'jaf_ast.c',
'jaf_compile.c',
'jaf_eval.c',
'jaf_types.c',
'json.c',
'repack.c',
'text.c',
'transcode.c',
]
ainedit += flexgen.process('asm_lexer.l', 'text_lexer.l', 'jaf_lexer.l')
ainedit += bisongen.process('asm_parser.y', 'text_parser.y', 'jaf_parser.y')
executable('ainedit', ainedit,
dependencies : tool_deps,
c_args : ['-Wno-unused-parameter'],
include_directories : incdir,
link_with : libsys4)