Created tokens.h and tokens.cpp to formalize implementation of language tokens. Scanners can now trace strings to reserved identifiers by calling lookup() and passing the string.
Removed hidden MacOS .DS_Store file and added a .gitignore file to prevent accidentally committing build files.
Also, I think its best if we use C++ instead of C.
Created
tokens.h
andtokens.cpp
to formalize implementation of language tokens. Scanners can now trace strings to reserved identifiers by callinglookup()
and passing the string.Removed hidden MacOS
.DS_Store
file and added a.gitignore
file to prevent accidentally committing build files.Also, I think its best if we use C++ instead of C.