zahl

Log | Files | Refs | README

README.md (953B)


      1 # `zahl`
      2 
      3 This is a toy language, made for fun and by following "Crafting
      4 Interpreters" (especially the part on bytecode intepreters).
      5 
      6 ## LISP-y
      7 
      8 The base language is lisp-like, that for multiple reasons:
      9 - Easy parsing
     10 - Macros to simplify writing code
     11 
     12 ## Integer only
     13 
     14 I mainly intend to use that as a playground to implement various
     15 algorithms on integers (extracted from Numberphile videos), and
     16 recreational mathematics.
     17 
     18 This means that for now the only datatype will be integers, and that
     19 the standard library will be augmented with "standard" number theory
     20 functions.
     21 
     22 Also, this means that the bytecode will be geared towards that, with
     23 special instructions for some number theory operations.
     24 
     25 ## Zig-based
     26 
     27 This is just for fun, I like zig, and I like writing software using
     28 zig.
     29 
     30 Zig also has big integers in its standard library, which is neat.
     31 
     32 ## Reference-counting based
     33 
     34 I don't like garbage collection, and I like reference counting.