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

language support: thoughts on the 'mark_*' functions in lang.ml #3

Open
bentxt opened this issue Jan 27, 2023 · 2 comments
Open

language support: thoughts on the 'mark_*' functions in lang.ml #3

bentxt opened this issue Jan 27, 2023 · 2 comments

Comments

@bentxt
Copy link

bentxt commented Jan 27, 2023

It would be nice to increase the number of programming languages to work with

Right now the supported langs, are according to --help

-lang  <lang> (default=ocaml, choices=ocaml|C|shell|ocamlyacc|php|haskell)

Besides the -lang option it would be nice to have a general option to define the opening (and optionally closing) comment character.

It appears to me that the different mark_.ml functions in lang.ml are very similar, and a general implementions should be possible.

Just some thoughts ...

@aryx
Copy link
Owner

aryx commented Jan 27, 2023

yes.

@aryx
Copy link
Owner

aryx commented Jan 27, 2023

It's also not difficult to modify lang.ml and add your favorite language.

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

No branches or pull requests

2 participants