Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for [C]ommand [L]ine [I]nterface [P]ages project #9

Open
EmilyGraceSeville7cf opened this issue Jan 28, 2023 · 3 comments
Open
Labels
enhancement New feature or request

Comments

@EmilyGraceSeville7cf
Copy link

EmilyGraceSeville7cf commented Jan 28, 2023

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.

@rwv
Copy link
Contributor

rwv commented Jan 28, 2023

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.

@rwv rwv added the enhancement New feature or request label Jan 28, 2023
@EmilyGraceSeville7cf
Copy link
Author

EmilyGraceSeville7cf commented Jan 28, 2023

I wanna implement AST parser in Golang. I'll notify u when it's ready. 😁

@EmilyGraceSeville7cf EmilyGraceSeville7cf changed the title Support for Better TlDr project Support for [C]ommand [L]ine [I]nterface [P]ages project Feb 16, 2023
@EmilyGraceSeville7cf
Copy link
Author

EmilyGraceSeville7cf commented Feb 16, 2023

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants