🎉 Celebrating 25 Years of GameDev.net! 🎉
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
Im thinking of making a scripting language, so these are the parts needed, please correct me if you see any error:
lexer:
converts things like "a + b" to NUMBER CHARACTER NUMBER or "int a" to DECL_TYPE ID and all all ids and their types to a lookup table.
parser:
checks the lexer combined with the lookup table for errors.
compiler:
converts the code into compiled code, hopefully faster than pure interpretation of the original :)
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement