nearley icon indicating copy to clipboard operation
nearley copied to clipboard

Rewrite Nearley in TypeScript

Open gajus opened this issue 4 years ago • 3 comments

I am open to contribute. @kach Would you accept a rewrite in TypeScript?

gajus avatar Nov 08 '21 18:11 gajus

@gajus I managed to get a bare minimum port to typescript https://github.com/0x6563/nearley-ts

I added a couple scripts "build"... naturally and "cli" which uses ts-node to test the cli.. npm run cli -- .\builtin\cow.ne

But I am looking at doing some aggressive rewriting that may or may not follow the design of this project.

0x6563 avatar Apr 23 '22 03:04 0x6563

As an update I've created a new repo where I've extensive refactoring and have been able to get profiling, benchmarks and tests working https://github.com/0x6563/grammar-well

0x6563 avatar Apr 27 '22 16:04 0x6563

@kach Could we deprecate Nearley in favor of grammar-well?

or add @0x6563 to nearley as a maintainer, so the project could continue living.

gajus avatar Sep 29 '22 14:09 gajus