croyzor / not-perl

A programming language that isn't Perl.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

not-perl

A dumb language that isn't Perl.

Build and use

  1. Install rust
  2. Run cargo check to make sure it builds correctly
  3. Run cargo run -- examples/blocks.npl to watch the compiler break

More examples in examples/.

If you build and get lifetime errors, switch to nightly with rustup override set nightly and enable non-lexical lifetimes in main.rs by uncommenting #![feature(nll)] at the top, and try to build it again.

Shame statistics

To generate shame statistics, you can run these commands:

grep -R src/ -e 'unimplemented\|TODO' | wc -l

This is roughly the square root of the number of hours of technical debt payoff I have created for myself.

Disclaimer

If you're reading this, the compiler VM doesn't work.

License

(C) 2018 Alek Ratzloff. All rights reserved.

I'll make this more open when I'm happy with its stability. Until then, ORIGINAL CONTENT, DO NOT STEAL!

About

A programming language that isn't Perl.


Languages

Language:Rust 100.0%