Swifties REPL

intro

This projects aims to demonstrate how to implement a custom Lisp REPL using Swifties.

<div class="snippet-clipboard-content position-relative" data-snippet-clipboard-copy-content="Swifties v5

Return evaluates completed forms,
(reset) clears the stack and Ctrl+D quits.

(func fibrec [n:Int] [Int]
(if (

Swifties v5

Return evaluates completed forms,
(reset) clears the stack and Ctrl+D quits.

  (func fibrec [n:Int] [Int]
      (if (< $n 2) $n (+ (fibrec (-- $n)) (fibrec (- $n 2)))))

  (fibrec 10)
[55]