Content deleted Content added
→Unofficial versions: rm needless |
specify Arc has been ported to Common Lisp |
||
(49 intermediate revisions by 36 users not shown) | |||
Line 1:
{{Short description|Open-source programming language}}
{{Distinguish|ARC Macro Language}}
{{Infobox programming language
| name = Arc
| logo = <!-- Filename only -->
| logo caption =
| screenshot = <!-- Filename only -->
| screenshot caption =
| paradigms = [[Multi-paradigm programming language|Multi-paradigm]]: [[Functional programming|functional]], [[Metaprogramming|meta]], [[Procedural programming|procedural]]
| family = [[Lisp (programming language)|Lisp]]
| designer = [[Paul Graham (programmer)|Paul Graham]]
| developers = Paul Graham, Robert Morris,<br />Arc [[Community of practice|community]]
| released = {{Start date and age|2008|01|29|df=yes}}
| latest release version = 3.2
| latest release date = {{Start date and age|2018|10|28|df=yes}}<ref>{{cite web |url=http://arclanguage.org/item?id=20772 |title=Arc Forum: Tell Arc: Arc 3.2 |website=Arclanguage.org |access-date=2018-11-07}}</ref>
| latest preview version =
| latest preview date = <!-- {{Start date and age|201Y|MM|DD|df=yes}} -->
| typing = [[Dynamic typing|Dynamic]]
| scope =
| programming language = [[Racket (programming language)|Racket]], [[Common Lisp (programming language)|Common Lisp]]
| platform = [[IA-32]], [[x86-64]]
| operating system = [[Linux]]
| license = [[Artistic License]] 2.0
| file ext = .arc
| file format = <!-- or: | file formats = -->
| website = {{URL|arclanguage.org}}
| implementations = Arc, Anarki, Arcadia, Rainbow
| dialects =
| influenced by = [[Lisp (programming language)|Lisp]], [[Scheme (programming language)|Scheme]]
| influenced =
}}
'''Arc''' is a [[
== History ==
In 2001,
==Motives==
In the essay
He also stated that it is better for a language to only implement a small number of
A controversy among Lisp programmers is whether, and how much, the [[
=== Reception ===
== Examples ==
[["Hello, World!" program|Hello world]] in Arc :▼
▲[[Hello world]] in Arc :
▲<source lang="lisp">
(prn "Hello, World")
</syntaxhighlight>
To illustrate Arc's terseness, Graham uses a brief program. It produces a form with one field at the url "/said". When the form is submitted, it leads to a page with a link that says "click here", which
▲It produces a form with one field at the url "/said". When the form is submitted, it leads to a page with a link that says "click here", which itself leads to a page with the value of the original input field.
▲<source lang="lisp">
(defop said req
(aform [onlink "click here" (pr "you said: " (arg _ "foo"))]
(input "foo")
(submit)))
</syntaxhighlight>
==Versions==
===Official version===
The first publicly released version of Arc was made available on 29 January 2008,<ref>
=== Unofficial versions ===
Due to
''Arc++''<ref>{{cite web |url=https://github.com/kimtg/Arcpp |title=Arcpp |last=Kim |first=Taegyoon (kimtg) |date=13 August 2023 |website=GitHub |access-date=2023-08-13}}</ref> is an implementation of Arc in [[C++]].
===Timeline of LISP Dialects===
{{Lisp}}
==References==
{{
==External links==
*{{Official website|arclanguage.org}}
*[http://www.arclanguage.org/tut.txt Tutorial]
*{{GitHub|arclanguage/anarki|Anarki}}
{{Lisp programming language}}
[[Category:Dynamically typed programming languages]]
|