Hi TeXmacs developers,
I have been working on a texmacs port with a chez scheme backend, hosted here
https://github.com/nerd-qp/texmacs, inspired by Max's efforts in
https://github.com/mgubi/texmacs. I have started a discussion thread on the
forum as well (see http://forum.texmacs.cn/t/texmacs-chez-port-beta/2217).
This is still a proof-of-concept of what Chez can do. Given that texmacs wasn't
not written for chez, there are certainly many hidden bugs left in the build
and of course poor performance in some areas -- though it already does well in
some places (see
https://github.com/nerd-qp/texmacs/blob/wip-chez/docs/chez/benchmarks.md). Some
reasons include excessive use of (eval ...) in C++ or scheme side (and I have
swapped some easy parts out, which does improve performance quite a bit). Using
(eval ...) would invoke chez's compiler and it would be significantly slower
than interpreter-based scheme engines.
The build is now fully automated: install the dependencies (some platforms
might have to build chez from source), and then run CMake with the right flags,
it would compile both C++ and every scheme modules (chez scheme compiles in
under 30 seconds). A bundled script is also available.
In any case, I hope that this project is of your interests for the future
development of TeXmacs. Thanks!
Best regards,
Joy
_______________________________________________
Texmacs-dev mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/texmacs-dev