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.

0

If you have a fediverse account, you can quote this note from your own instance. Search https://mastodon.gamedev.place/users/demofox/statuses/114728241716486755 on your instance and quote it. (Note that quoting is not supported in Mastodon.)