PLDB
Languages Features Calendar CSV Lists Blog About Donate Add Language
GitHub icon

Arc

< >

Arc is a programming language created in 2001 by Paul Graham and Robert Morris.

#238on PLDB 22Years Old 431Users
0Books 8Papers 236Repos

Try now: Web

Arc is a dialect of the Lisp programming language developed by Paul Graham and Robert Morris.. Read more on Wikipedia...


Example from hello-world:
(prn "Hello World")
Example from Wikipedia:
(defop said req (aform [onlink "click here" (pr "you said: " (arg _ "foo"))] (input "foo") (submit)))

Language features

Feature Supported Token Example
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 #)
; 
; Notice that a macro definition looks exactly like a function
; definition, but with def replaced by mac.  
; 
; What this macro says is that whenever the expression (foo) occurs
; in your code, it shouldn't be evaluated in the normal way like a
; function call.  Instead it should be replaced by the result of
; evaluating the body of the macro definition, (list '+ 1 2).
; This is called the "expansion" of the macro call.
Print() Debugging prn
Lispy

Publications about Arc from Semantic Scholar

title authors year citations influentialCitations
HIERARCHICAL ARC CONSISTENCY FOR DISJOINT REAL INTERVALS IN CONSTRAINT LOGIC PROGRAMMING Greg Sidebottom and W. Havens 1992 42 3
An overview of ARC SASL H. Richards 1984 7 0
Optimization of Flux Cored Arc Welding Process Parameter Using Genetic and Memetic Algorithms T. Kannan and N. Murugan and B. N. Sreeharan 2013 7 0
geneGIS: Geoanalytical Tools and Arc Marine Customization for Individual‐Based Genetic Records Dorothy M. Dick and Shaun Walbridge and D. Wright and J. Calambokidis and E. Falcone and D. Steel and Tomas Follett and J. Holmberg and C. S. Baker 2014 7 0
Camera self-calibration with varying intrinsic parameters and arc of the circle A. El Abderrahmani and K. Satori 2016 4 0
The ARC Programming Model - Language Constructs for Coordination K. Marth and Shangping Ren 2009 3 0
Arc Flash Risk Assessment Using Methodology FMECA Jan Pígl 2018 1 1
Process Design for the Wire Arc Additive Manufacturing of a Compressor Impeller A. Kulikov and A. Sidorova and A. Balanovskiy 2020 1 0
systemverilog.html · arc.html · opa.html

View source

PLDB - Build the next great programming language · v2023 · Day 153 · Docs · Build · Acknowledgements · Traffic Today · Traffic Trends · Mirrors · GitHub · feedback@pldb.com