ammarbinfaisal / sahl

a programming language with channels and coroutines/threads
MIT License
10 stars 1 forks source link

parser gotchas #8

Closed ammarbinfaisal closed 1 year ago

ammarbinfaisal commented 1 year ago

one of them is that lists in sahl, right now, need to have a trailing comma

ammarbinfaisal commented 1 year ago

rewrite using https://github.com/zesterer/chumsky

ammarbinfaisal commented 1 year ago

rule110.sahl doesn't get parsed anymore :/

ammarbinfaisal commented 1 year ago

wrote one using lalrpop but https://github.com/abooishaaq/sahl/issues/22#issue-1728633294

ammarbinfaisal commented 1 year ago

being worked on in https://github.com/abooishaaq/sahl/tree/lr-1

ammarbinfaisal commented 1 year ago

hammadfaisal is supposed to fix my stupid parser