LjTools
tectonic
LjTools | tectonic | |
---|---|---|
11 | 22 | |
251 | 3,760 | |
- | 1.3% | |
0.0 | 9.1 | |
over 1 year ago | 3 days ago | |
C++ | C | |
GNU General Public License v3.0 only | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
LjTools
-
LuaJIT decompiler that supports GOTO statements?
I dug a little more and came across this tool which does seem to have the capability to view all LuaJIT Bytecode. https://github.com/rochus-keller/LjTools
-
A History of Lua
> a large lua game code base, over 4000 files, 1.5 million lines of code
Interesting; how do you manage to keep consistency? Do you have special tools to e.g. detect inadvertent global variables? I once wrote a Smalltalk VM in Lua (https://github.com/rochus-keller/Smalltalk/blob/master/Inter...) which is a much smaller code base but even with this size I quickly would have lost track of e.g. scopes and names without tools I had to write myself (https://github.com/rochus-keller/LJTools).
- Minimalism in Programming Language Design
-
KT/COBOL — Choosing a VM edition — I need to hear your experiences with the VM you're currently using for your project.
Most of my languages have VM backends; see e.g. https://github.com/rochus-keller/Oberon; I implemented different backends generating LuaJIT bytecode; a year ago I switched to Mono which is based on ECMA-335; here is a discussion why I switched: https://github.com/rochus-keller/Oberon/releases/tag/IDEv0.9.0; I implemented utility libraries for both LuaJIT and CIL bytecode; see https://github.com/rochus-keller/LjTools/, https://github.com/rochus-keller/Pelib/ and https://github.com/rochus-keller/MonoTools/. I evaluated many VMs and think the mentioned ones are best suited. There were a lot of challenges with both technologies, what is to be expected, and too much to describe here.
-
LuaJIT for backend?
LuaJIT is well suited as a backend/runtime environment for custom languages; I did it several times (see e.g. https://github.com/rochus-keller/Smalltalk, https://github.com/rochus-keller/Som/, https://github.com/rochus-keller/Oberon/). I also implemented a bit of infrastructure to ease the reuse: https://github.com/rochus-keller/LjTools. LuaJIT has some limitations though; if you require closures you have to know that the corresponding LuaJIT FNEW bytecode is not yet supported by the JIT, i.e. switches to the interpreter; as a work-around I implemented my own closures; LuaJIT also doesn't support multi-threading, but co-routines; and there is no debugger, and the infrastructure to implement one has limitations (i.e. performance is low when running to breakpoints). For most of my projects this was no issue. Recently I switched to CIL/Mono for my Oberon+ implementation which was a good move. But still I consider LuaJIT a good choice if you can cope with the mentioned limitations. The major advantage of LuaJIT is the small footprint and impressive performance for dynamic languages.
-
Writing a Register Based VM
Implementing a VM is certainly interesting, but if you just need a fast backend you could generate LuaJIT bytecode (see e.g. https://github.com/rochus-keller/ljtools/ LuaJitComposer.h/cpp).
- Finl Is Not LaTeX
- (LuaJIT) How to directly modify strings within LuaJIT Bytecode?
-
Bytecode for a Register Machine
If you want to re-use LuaJIT as a backend, have e.g. a look at https://github.com/rochus-keller/ljtools
-
Favorite Program for writing LUA?
Recently I mostly use https://github.com/rochus-keller/LjTools#lua-parser-and-ide-features
tectonic
-
I rewrote my CV in Typst and I'll never look back
You may want to try https://github.com/tectonic-typesetting/tectonic, which downloads files from TeXLive on-demand.
-
bard 2.0
v2 has improved TeX engine lookup, improved PDF template look&feel, proper support for MS Windows (where it comes integrated with the Tectonic engine) and a few more new features.
-
[Media] Version 0.3 of Inlyne - An interactive markdown renderer written entirely in Rust
There's https://github.com/tectonic-typesetting/tectonic but I think the issue with that idea is that sure, you can re-implement TeX (it's sufficiently simple) in Rust and then run LaTeX packages on top of it, but then you're back to LaTeX and all its weirdness so you haven't really gained anything compared to LaTeX itself.
-
Arch for science
In terms of TeX, I would recommend taking a look at tectonic, a self-contained TeX distribution that auto-installs packages you need when you need them, and “just works” when you call the binary to compile… Because screw messing around with package managers, CTAN and XeTeX. I’ve been using it for around a year and it’s so much easier than any other TeX distribution.
-
Porting Python reportlab code to Rust
For example, you can have your main application in something like Deno/Node/python that acts as a server, and then delegate the actual pdf generation to tectonic (https://github.com/tectonic-typesetting/tectonic) or Typst https://typst.app/blog/2023/beta-oss-launch/
-
Another rewrite in rust: Pydantic
tectonic: https://github.com/tectonic-typesetting/tectonic
- \begin{mess}
-
UnTeX - Parsing and formatting TeX documents with Rust - Looking for help
How does it compare with Tectonic?
-
Brian Kernighan adds Unicode support to Awk (May, 2022)
It's sad that Tectonic conversion to Rust[1] was never finished. For now it's just a wrapper around C and C++ code. By far, it was the most promising thing in this distribution.
[1] https://github.com/tectonic-typesetting/tectonic/issues/459
-
LaTex alternative/replacement written in Rust?
The only thing I've seen is https://github.com/tectonic-typesetting/tectonic but that's an actual re-implementation of TeX Rust.
What are some alternatives?
SATySFi - A statically-typed, functional typesetting system
miktex - the MiKTeX source code
ubpf - Userspace eBPF VM
texlab - An implementation of the Language Server Protocol for LaTeX
Oberon - Oberon parser, code model & browser, compiler and IDE with debugger
tex-rs - A port of TeX82 to Rust. (WIP)
port70 - A Gopher server in Lua
arara
langs
rpm-ostree - ⚛📦 Hybrid image/package system with atomic upgrades and package layering