Skip to content
This repository has been archived by the owner on Jan 4, 2022. It is now read-only.

simpler lex/parser #135

Open
crgimenes opened this issue Jan 2, 2019 · 0 comments
Open

simpler lex/parser #135

crgimenes opened this issue Jan 2, 2019 · 0 comments

Comments

@crgimenes
Copy link
Contributor

To make it simpler to add new features and receive more contributions my suggestion is to rewrite the parser / lex as in this example I wrote some time ago.

https://github.com/rumlang/exp/tree/master/lex

The idea is a lexer with some interesting features such as read only to forward, this enabling you to receive the code via stream, ease to include new structures and also be easy to debug, avoid generating panic, instead give a more elegant message instead of the traceback in Go.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

1 participant