Category:AntLang: Difference between revisions

From Rosetta Code
Content added Content deleted
No edit summary
No edit summary
Line 3:
AntLang is a practical functional language.
 
For example check out this fibonaccisimple implementationweb-server:
<lang AntLang>fibserv:{foldl httprun[8080; {x concat seq[(-"HTTP/1.0 elemOK x)200\r\n\r\nDirectory: +" -2concat elem["PATH"; x]}; 0 seq 1; range[x]]}</lang>
 
AntLang has many unconventional features like first class operators, since operator = function with arity 2:
<lang AntLang>op:{elem[x; seq[+; -; *]]}
2 op[0] 2</lang>
 
Check out [http://ac1235.github.io/ the website], if you are interested.

Revision as of 18:02, 24 June 2016

Language
AntLang
This programming language may be used to instruct a computer to perform a task.
See Also:


Listed below are all of the tasks on Rosetta Code which have been solved using AntLang.

AntLang is a practical functional language.

For example check out this simple web-server: <lang AntLang>serv: httprun[8080; {"HTTP/1.0 OK 200\r\n\r\nDirectory: " concat elem["PATH"; x]}]</lang>

Check out the website, if you are interested.