taf is a programming language created in 2012 by Manuel Simoni.
#1574on PLDB | 11Years Old | 63Users |
0Books | 0Papers |
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 | Token | Example |
---|---|---|---|
Comments | ✓ | ; A comment |
|
Line Comments | ✓ | ; | ; A comment |
Semantic Indentation | X |