None. That just works.Okay how much work do I have to beyond typing that into the terminal?
You might be right. We finally found a syntax that makes Smalltalk look readableI’d say it is a pretty good mickey-take of the strained syntax that so many people consider ‘normal’ for programming.
But if you go at it with a text editor and just global replace LOL Code phrases for Javascript terms you do end up with readable, if not great, Javascript.
ON MAH RASPBERRY PI I HAD 2 FURST INSTALL CMAEK 4 DA BUILD 2 WERK USIN
Code: Select all
$ sudo apt-get install cmakeYEZ, I ALSO SAW TEH NED 4 CMAEK IN DA DOCUMENTASHUN. I MENSHUND IT CUZ IT WUZ LEFT OUT FRUM TEH INSTRUCSHUNS POSTD EARLIR IN DIS THREAD AN MAH PI DID NOT COME WIF CMAEK PREINSTALLD.Heater wrote: ↑Fri Jun 07, 2019 4:35 amWell of course. Goes with out saying when building C programs.
Or of course one could have read the lci installation instructions I linked to early in this thread: https://github.com/justinmeza/lci
"PREREQUISITES
1 You must have CMake installed (www.cmake.org). a) If you're using a Linux distro with package management CMake should be in your repositories.
..."
Code: Select all
HAI 1.3
I HAS A foo ITZ A BUKKIT
KTHXBYE
I HAS SPENT TEH LAST HOUR LOOKIN AT TEH UNIT TESTS 4 ARRAYS AN CONCLUDD THEY R NOT LIEK ARRAYS AT ALL BUT MOAR LIEK STRUCTUREZ WIF NAMD ELEMENTS. IM BIT DISAPPOINTD RLY, CUZ I WUZ LOOKIN FWD 2 WRITIN HOOJ NUMBR FIBONACCI CALCULASHUN.Heater wrote: ↑Fri Jun 07, 2019 6:21 amejolson,
I have not tried any kind of array or list in LOLCODE yet.
But there are tests for array operations in the lci repo: https://github.com/justinmeza/lci/tree/ ... /12-Arrays
For example:And there is an example using indexed arrays here: https://www.tutorialspoint.com/lolcode/ ... amples.htmCode: Select all
HAI 1.3 I HAS A foo ITZ A BUKKIT KTHXBYE
Mea culpa, or whatever the LOL is for that - In my day it was "double-plus done not-good".ejolson wrote: ↑Fri Jun 07, 2019 2:43 amON MAH RASPBERRY PI I HAD 2 FURST INSTALL CMAEK 4 DA BUILD 2 WERK USINCode: Select all
$ sudo apt-get install cmake
Arrays seem more like dictionaries (WERD BOOKZ) or associative arrays (BFF). They should be usable in an optimised fibo but the implementation may make them slow.