News for hackers. Stuff that matters.
Re:A spreadsheet in fewer than 30 lines of JavaScript, no li... by bananashake on Wednesday November 13, 2013 @10:16AM (#6725639)
This works wonderfully.

Definitely the most punch I've seen per line of code.

You can use javascript functions in your excel formulas. In a 30 line of code program this is a feature.

= alert("I love it.");

Re:A spreadsheet in fewer than 30 lines of JavaScript, no li... by hamburglar on Wednesday November 13, 2013 @12:42PM (#6726868)
Definitely a cool hack, but I had to laugh out loud at "Excel-like syntax (formulas start with "=")". Apparently the grammar for an "excel-like" syntax is:

excel_like_expression ::= "=" javascript_expression