Skip to content

Instantly share code, notes, and snippets.

@i-e-b
Created September 12, 2022 08:22
Show Gist options
  • Save i-e-b/51d6dfd65f06b7db6884eab54d67e1a8 to your computer and use it in GitHub Desktop.
Save i-e-b/51d6dfd65f06b7db6884eab54d67e1a8 to your computer and use it in GitHub Desktop.
Stalisp

Forth and List based on a 'fundamental container type'. Forth -> stack, Lisp -> linked-list. We take as the fundamental container type a list/stack hybrid. Anything in a list is data. Anything outside is a function call.

Motivational example

  (4) (1 2) + *    # 12
  (4 1 2) + *      # same
  
  (else-func) (if-func) (predicate) if
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment