3 ms·
I had a look at your link, and this page in particular: http://epsilonwiki.free.fr/lambdaway/?view=lambdatalk%20one http://epsilonwiki.free.fr/lambdaway/?view=l
by S4M 11y ago
I had a look at your link, and this page in particular: http://epsilonwiki.free.fr/lambdaway/?view=lambdatalk%20one http://epsilonwiki.free.fr/lambdaway/?view=lambdatalk%20one
If I understand well, it seems that you wrote some kind of lisp dialect with the following particularities (some of my observations might be wrong, so please correct them):
- it's somehow executed in javascript, so when I load in page with lambdaway code in it, js executes the code and the output is displayed on the page
- braces are replacing parenthesis
- you allow unicode variables (like \Phi)
- by default, an expression is a string, unless it's preceded by a colon (my first opinion is that it's not the best and it would be better to use the quotes for the strings like other languages do, but I can be wrong)
I happen to be writing at the moment a blog post (it's not finished yet, but here is the beginning: http://eskatrem.github.io/Newton-Raphson http://eskatrem.github.io/Newton-Raphson ) that uses some mathematical symbols - it will also talk about lisp by the way. I guess it's something that could be - better? - done with lambdway?
- martyalain 11y agoYes for the three first points. Not at all for the last: as it can be seen in http://epsilonwiki.free.fr/lambdaway/?view=lambdatalk%20one http://epsilonwiki.free.fr/lambdaway/?view=lambdatalk%20one, lambdatalk's code is made of sequences of words skipped by the parser and forms (S-expressions) evaluated by the parser. Colons are used to prefix arguments in lambdas. You can see an example of Newton method in http://epsilonwiki.free.fr/alphawiki_2/?view=stock_maths_newton http://epsilonwiki.free.fr/alphawiki_2/?view=stock_maths_new.... Thanks for your interest :)