2 ms·
Could you talk a little more about what `fexl` is? I don't see any obvious documentation beyond the README, which doesn't even seem to give a code sample; and,
by JadeNB 12y ago
Could you talk a little more about what `fexl` is? I don't see any obvious documentation beyond the README, which doesn't even seem to give a code sample; and, while 'functional evaluator' is an intriguing name, I don't know what it means.
- fexl 12y agoFexl is a functional programming language. I used the term "functional evaluation" because Fexl evaluates functions. Here are a few code samples: http://rosettacode.org/wiki/99_Bottles_of_Beer#Fexl http://rosettacode.org/wiki/99_Bottles_of_Beer#Fexl http://rosettacode.org/wiki/Fibonacci_sequence#Fexl http://rosettacode.org/wiki/Fibonacci_sequence#Fexl http://fexl.com/sample/ http://fexl.com/sample/ This one's a bit more involved: http://fexl.com/demo/ http://fexl.com/demo/ You'll also find some code samples in the "test" directory: https://github.com/chkoreff/Fexl/tree/master/src/test https://github.com/chkoreff/Fexl/tree/master/src/test The program a1.fxl there is the definitive test suite. The program a2.fxl reads what you type and echoes it back. The samples above should help illustrate the nature of the language. Grammatically, it's very simple: http://fexl.com/grammar/ http://fexl.com/grammar/ For another quick illustration of the language, I'll give you a sample here: say "Hello" \x=(* 4.7 8.6) put "x = " put x nl The output is: Hello x = 40.42