zeke

Results 49 issues of zeke

for a proposal to pass $$ yes > total * threshold $$ where $total$ is the total voting power in the DAO, and $threshold$ is the passing threshold. to perform...

Currently type checks are inlined for every primitive. This leads to a lot of code being generated. We should likely move this into a function.

In the interpreter `(car ())` and `(cdr ())` yield `()` whereas in the compiler both calls result in a type error. Currently, my preference is for the compilers behavior. It...

Interpreter 🐞

Varadic functions require that we heap allocate function arguments. This is slow. Most existing Lust programs do not use varadic functions - in that situation we don't need to heap...

Compiler 🐅

The following program panics because the return value (result of last expression compiled) is a closure: ```lisp (let printf (fn (list & args) 1)) ```

bug
Compiler 🐅

At the moment there is no way to test that errors are being displayed properly because they print to stdout and don't leave much of a trace. As time goes...

enhancement
Interpreter 🐞
Compiler 🐅

``` lust> -'hello => (fn (& args) (fold (fn (a i) (sub a i)) (cdr args) (car args))) => hello ``` I guess this makes sense if we're letting multiple...

Interpreter 🐞

- Add documentation - Add way for it to be installed terminally by some variation of `cargo install`

enhancement
Interpreter 🐞

Having a JIT is nice and makes testing pretty easy but at the end of the day the ability to compile to native object files is very important to me...

enhancement
Compiler 🐅

We now have heap allocation wired up in `lustc`. This means that its time to start thinking about garbage collection. For now I have wrapped `malloc` in an `alloc` function....

enhancement
Compiler 🐅