Arc is a programming language created in 2001 by Paul Graham and Robert Morris.
#513on PLDB | 23Years Old | 236Repos |
Arc is a dialect of the Lisp programming language developed by Paul Graham and Robert Morris.. Read more on Wikipedia...
(prn "Hello World")
(defop said req
(aform [onlink "click here" (pr "you said: " (arg _ "foo"))]
(input "foo")
(submit)))
Feature | Supported | Example | Token |
---|---|---|---|
Strings | ✓ | "Hello world" | " |
Macros | ✓ |
; http://www.arclanguage.org/tut.txt
; We know enough now to start writing macros. Macros are basically
; functions that generate code. Of course, generating code is easy;
; just call list.
;
; arc> (list '+ 1 2)
; (+ 1 2)
;
; What macros offer is a way of getting code generated this way into
; your programs. Here's a (rather stupid) macro definition:
;
; arc> (mac foo ()
; (list '+ 1 2))
; *** redefining foo
; #3(tagged mac # |
|
Print() Debugging | ✓ | prn |