Hacker News new | past | comments | ask | show | jobs | submit login

Ahh, people are trying to do a replacement before finding tokens. I wondered why so many people were saying this was difficult. My head went straight to token parsing, which given the limited set of tokens made it trivial. Thought I was missing something



I think people with understanding of compilers always want to model their code as DSL, and that makes it easier to go for backwards scanning.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: