taf is a programming language created in 2012 by Manuel Simoni.
#1440on PLDB | 12Years Old |
git clone https://github.com/manuel/taf
A Lisp with row polymorphism, delimited continuations, and hygienic macros. [vaporware]
(define (make-person name email)
#(person :name name :email email)) ; creates a person record with name and email fields
(define-generic (to-string obj))
(define-method (to-string (obj #(person :name :email))) ; matches persons and binds name and email field to local variables
(concat (list name " <" email ">")))
(to-string (make-person "Manuel" "msimoni@gmail.com"))
; ==> "Manuel <msimoni@gmail.com>"
Feature | Supported | Example | Token |
---|---|---|---|
Comments | ✓ | ; A comment | |
Line Comments | ✓ | ; A comment | ; |
Semantic Indentation | X |