I want to make a super simple c like language that allows expressions, assignments, conditionals, calling built in functions and reading/writing built in variables.
Would people recommend lexx/yacc (flex/bison) for this?
It seems doing that id be able to put in text and get out an AST or bytecode that I could then use to generate c++ or Javascript or interpret at runtime.
Im tempted to do this myself from scratch and i have done so in the past, but thinking maybe not this time.
Would people recommend lexx/yacc (flex/bison) for this?
It seems doing that id be able to put in text and get out an AST or bytecode that I could then use to generate c++ or Javascript or interpret at runtime.
Im tempted to do this myself from scratch and i have done so in the past, but thinking maybe not this time.