Advertisement

parts

Started by July 24, 2004 02:54 AM
-1 comments, last by dathui 20 years, 6 months ago
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 :)
reality is only an option

This topic is closed to new replies.

Advertisement