gnolang / bounties

cosmos/gno ecosystem bounties
9 stars 8 forks source link

bounty 4 - clarification & proposal #29

Open aimxhaisse opened 2 years ago

aimxhaisse commented 2 years ago

Trying to clarify my understanding of bounty 4 with what I read from the current Gno repo, is the end goal to be able to replace the current golang parser (adapted in go2gno.go) with this new PEG implementation?

If so, would the following overall plan look reasonable?

Some open questions:

I'm unsure at this stage how far I will go; I think it's important to do this incrementally, in small steps going in the right direction, so that it's useful in case other folks want to be involved. I have some experience writing BNF parsers and rules to handle ASTs for C in the past, not sure it will help here but I think I kind-of see where most of the time will be spent.

If that sounds reasonable, I'll try to come up with a clear plan for Step 1, after playing a bit more with the current codebase.

jaekwon commented 2 years ago

Thank you! Sorry I just noticed this.