Open EmilyGraceSeville7cf opened 1 year ago
It looks like that we need to do some kind of AST parsing in JavaScript which is a pain. Maybe this can be easier if there is a reference implementation.
I will keep this issue open and wait when Better tldr become more stable and popular.
I wanna implement AST parser in Golang. I'll notify u when it's ready. 😁
It looks like that we need to do some kind of AST parsing in JavaScript which is a pain. Maybe this can be easier if there is a reference implementation.
@rwv, this render function can be used as a reference for now. It's a render prototype but a working one. :) There is no AST parsing done, everything is implemented via string manipulation (as Bash and Sed doesn't support anything more complicated).
It's my TlDr project aiming to replace TlDr and provide clear and standardized syntax for everything. Here is syntax description. Can u provide support for both projects? For instance let user chose what project pages they want to explore: TlDr or Better TlDr ones.