Here are some links to Carl Sassenrath World's smallest spreadsheet program he wrote back in 2001 using Rebol (under 100 lines): * Announcement on Rebol mailing list - http://www.rebol.org/ml-display-thread.r?m=rmlNHPK * Code (Rebol script library) - http://www.rebol.org/view-script.r?script=rebocalc.r * Code (in Gist for nicer syntax highlighting) - https://gist.github.com/draegtun/7454495 * Recent blog post with sc…
A spreadsheet in fewer than 30 lines of JavaScript, no library used
271–274 of 274 posts
Re: A spreadsheet in fewer than 30 lines of JavaScript, no library used
#272Here are some links to Carl Sassenrath World's smallest spreadsheet program he wrote back in 2001 using Rebol (under 100 lines): * Announcement on Rebol mailing list - http://www.rebol.org/ml-display-thread.r?m=rmlNHPK * Code (Rebol script library) - http://www.rebol.org/view-script.r?script=rebocalc.r * Code (in Gist for nicer syntax highlighting) - https://gist.github.com/draegtun/7454495 * Recent blog post with sc…
Level in the header is beginner. In 2001. Download Rebol/View, the source in the gist link. Run Rebol, click console. pwd, ls, cd to the place you put the gist code. type "do %whateveryounamedthesource". Smaller than a browser i would guess.
You can amend max-x & max-y variables in the script to change spreadsheet size to make bigger.
For others...
The Rebol 2 binaries to run this spreadsheet script can be found here - http://www.rebol.com/download-view.html
And from the shell/command line you can also run the script straight off the internet like so:
./rebol http://www.rebol.org/download-a-script.r?script-name=rebocalc.r
The spreadsheet is simple to use (beginner level) but surprisingly very powerful (Rebol types, expressions & functions are available).Re: A spreadsheet in fewer than 30 lines of JavaScript, no library used
#273Re: A spreadsheet in fewer than 30 lines of JavaScript, no library used
#274Earlier quoted context omitted.
Can you explain how such a tree would map inside a graph? I can't think of an obvious use case.
The use case is something like this: http://ludo.cubicphuse.nl/jquery-treetable/ It would be nice if something like that existed, but with much richer features like the libraries above.