Minus Home
What is Minus?
Basics
Proof of Concept
Extensions
Implementations
Examples
Files
Self Interpretation
|
Implementations
| iminus.c | Best implementation so far |
| cminus.rb | Fast compiler, does not support everything yet (must have unused characters stripped) |
| basic.rb | Old simple interpreter |
| golfed.rb | 165 bytes, slow, bad |
Example Code
| prime.ms | ask for input, prints primes upto that amount, is commented somewhat |
| hello.ms | Hello, world! |
| fib.ms | First 46 fibonacci numbers |
Self Interpretation
| sm.ms | Commented self interpreter |
| 227.ms | Stripped self interpreter |
| quine.ms | Not a pure quine, as it uses input and just outputs it twice, used as the test program for the self interpreter |
| 5.c | An optimized compiled self interpreter with 4 additional layers of self interpretation, it should output "fh". |
Miscellaneous
|