jarble

Results 51 comments of jarble

My [universal-transpiler](https://jarble.github.io/transpiler/javascript/js_transpiler/test_parser.html#%7B%22inputText%22%3A%22function%20add(a%3Aint%2C%20b%3Aint)%3Aint%7B%5Cn%20%20%20%20return%20a%20%2B%20b%3B%5Cn%7D%22%2C%22inputLang%22%3A%22typescript%22%2C%22outputLang%22%3A%22c%2B%2B%22%7D) tool can already compile a subset of TypeScript into C++. It would also be possible to convert JavaScript into C++ by combining a [TypeScript-to-Python compiler](https://jarble.github.io/transpiler/javascript/js_transpiler/test_parser.html#%7B%22inputText%22%3A%22function%20add(a%3Aint%2Cb%3Aint)%3Aint%7B%5Cn%20%20%20%20return%20a%2Bb%3B%5Cn%7D%22%2C%22inputLang%22%3A%22typescript%22%2C%22outputLang%22%3A%22python%22%7D) with a [Python-to-C...

Will closures be supported as well?

@pitust I tried compiling the program again [here](https://andrei-markeev.github.io/ts2c/), but the output hasn't changed. It still has the same bug.

I'm planning to write a compiler that translates TypeScript to Ć, so the translation would be easier if generics were available in this language. Since Ć targets several languages that...

The implementation of generics is much more difficult than I expected: if the goal of this compiler is to target as many languages as possible, then this feature should probably...

@nathan The [documentation](https://github.com/no-context/moo#usage) doesn't describe this feature: does it need to be updated?

I hope this project is still active: I'd like to help port this library to other languages, such as PHP.

peg.js [has been abandoned](https://github.com/pegjs/pegjs/issues/667), so this feature probably won't be implemented.

I wish it were possible to [revive abandoned projects](https://github.com/isaacs/github/issues/1385) like this one, instead of forking them.

@hildjj This pattern works, but it's not a regular expression. I'd prefer to use unmodified regular expressions instead of manually re-writing them like this.