Category:AntLang: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 3:
AntLang is intended to be a practical functional language.
 
It has a built-in database called Ad (AntLang database), which adds syntactical constructs to the language.
It has a built-in web-server:
<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>
 
See [https://ac1235.github.io/ the website], if you are interested.
Anonymous user