Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> What else would you use to represent a syntax tree?

For unit tests I've used pretty-printed JSON. Text editors syntax highlight it plus you can leverage an off-the-shelf JSON library rather than writing your own s-expressions serializer (not that serializers are difficult to write or anything, but just as a convenience).



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

Search: