Skip to content

Instantly share code, notes, and snippets.

@anacrolix
Created October 7, 2012 03:47
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anacrolix/3847029 to your computer and use it in GitHub Desktop.
Save anacrolix/3847029 to your computer and use it in GitHub Desktop.
Ideal language

Syntax

  • Infix?
  • Whitespace-aware, but not required (implicit {})

Features

  • Static single assignment
  • Anonymous closures
  • No implicit finalizers
  • Memory-only GC
  • Full C integration:
    • register-width integers
    • C strings
    • foreign thread callbacks
  • Ad-hoc or Haskell style interfaces

Primitives

  • Arbitrary precision integers
  • Double precision floating points
  • Unicode strings
  • Byte arrays
  • Haskell-style lists
  • Clojure-style "roped" dicts

Backends

  • Bytecode or prefix-AST and provided interpreter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment