Add error handling for unexpected symbols
Add special EOF token handling