adam mcdaniel

Results 30 issues of adam mcdaniel
trafficstars

LALRPOP has been a pain. Use Pest instead. Right now the frontend uses Pest, and the stages of IR use LALRPOP.

hardening
definitely

Add instructions like `Spawn` which creates another tape head with its own independent state elsewhere on the tape which runs concurrently asynchronously.

enhancement
maybe

It would be nice to insert more comments in the generated assembly at the LIR level. This is straightforward. It would also be nice to have debugging symbols in the...

enhancement
good first issue

A `Unit` type traditionally means the `None` type in common nomenclature. Currently, the `Unit` type in Sage is a type that enforces structural equality *and* nominal equality. A `Unit(Meter, Int)`...

enhancement
good first issue

The LIR examples use several inlined-assembly procedures to access comparison, logical, and bitwise operators. Add the missing operators and swap out the new ones in the LIR examples.

documentation
enhancement
good first issue

I have swapped the `Swap` instruction for the `BitwiseNand` instruction.

documentation

LIR is cool, demonstrate some!

documentation

I changed the `Inc` and `Dec` operators to two new operators: 1. `Index` 2. `Swap` `Index` looks at the tape, reads the value, and uses that as an index for...

documentation

The compiler doesn't throw an error with the following code ```rs impl Int { fun test() { println("test 1"); } fun test() { println("test 2"); } } Int.test(); ``` Instead...

bug
Typechecking⚠️