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

Markup Support #79

Open
dbrgn opened this issue May 18, 2021 · 1 comment
Open

Markup Support #79

dbrgn opened this issue May 18, 2021 · 1 comment

Comments

@dbrgn
Copy link

dbrgn commented May 18, 2021

As mentioned in #9: Threema has switched away from pure regexes towards a proper parser.

The JavaScript version is published here: https://github.com/threema-ch/threema-markup Maybe that could be adapted, it's relatively simple and contains a big test suite.

@blizzard4591
Copy link
Owner

Yes, I looked at that already and it would make sense to adapt. My plan would be to transpile it to C++, as a manual adaption makes no sense in my eyes, tracking changes just does not scale or make sense manually.
Sadly, the TypeScript to C++ transpiler I found can not handle the used features: ASDAlexander77/TypeScript2Cxx#7

I am open to other ideas, but the generated workload needs to be in-line with this being a one-person show.

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