Category:AntLang: Difference between revisions
Content added Content deleted
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{language|AntLang}} |
{{language|AntLang}} |
||
AntLang is a practical functional language. |
AntLang is intended to be a practical functional language. |
||
It has a built-in web-server: |
|||
<lang AntLang>serv: httprun[8080; {"HTTP/1.0 OK 200\r\n\r\ |
<lang AntLang>serv: httprun[8080; {"HTTP/1.0 OK 200\r\n\r\n<h1>Hello!</h1>"}]</lang> |
||
The AntLang-Library-Collection (ALC) makes use of this web-server, so it can be rewritten like this: |
|||
⚫ | |||
<lang AntLang>load["handlers.ant"] |
|||
serv: httprun[8080; {httpwrap["<h1>Hello!</h1>"]}]</lang> |
|||
⚫ | |||
There also is an [https://ac1235.github.io/tutorial.html AntLang tutorial] on this page. |
Revision as of 09:54, 26 June 2016
AntLang
This programming language may be used to instruct a computer to perform a task.
Listed below are all of the tasks on Rosetta Code which have been solved using AntLang.
This programming language may be used to instruct a computer to perform a task.
See Also: |
|
---|
AntLang is intended to be a practical functional language.
It has a built-in web-server:
<lang AntLang>serv: httprun[8080; {"HTTP/1.0 OK 200\r\n\r\n
Hello!
"}]</lang>
The AntLang-Library-Collection (ALC) makes use of this web-server, so it can be rewritten like this: <lang AntLang>load["handlers.ant"]
serv: httprun[8080; {httpwrap["
Hello!
"]}]</lang>
See the website, if you are interested. There also is an AntLang tutorial on this page.
Pages in category "AntLang"
The following 24 pages are in this category, out of 24 total.