4 ms·
Yes. It has zero runtime dependencies but development currently assumes GNU tools. The test suite for example is entirely written in bash and uses GNU coreutils
by matheusmoreira 3y ago
Yes. It has zero runtime dependencies but development currently assumes GNU tools. The test suite for example is entirely written in bash and uses GNU coreutils. I submitted a patch to coreutils to allow env to set argv[0] of programs specifically so I could use it in my test suite.
Currently lone is a single C source file. It could easily be compiled manually if necessary.
I've started reorganizing the repository though so that's likely to change.
- nvy 3y ago>Currently lone is a single C source file. Is there a plan to write a lone compiler so as to eventually have lone bootstrapping/compiling itself so that you no longer have to sully your hands with C?
- shrimp_emoji 3y agoYou don't have to; you get to! ;D
- nvy 3y agoHey some people like debasing themselves with C; I'm not gonna kink-shame.
- matheusmoreira 3y agoI would like that. I wanted to create the simplest possible reference C implementation first so the language can always be bootstrapped with a C compiler. After that, I'll probably make a better one. I'm considering a Rust implementation as well. At least that's what I tell myself. Just this simple interpreter has already generated a lifetime of work. It's making me wish I had infinite time to work on it.