Sexp Matrix

(lisper.cc)

53 points | by todsacerdoti 2 days ago ago

12 comments

  • anamexis 2 days ago ago

    Unless I missed it, this doesn't address one of the key features of spreadsheets, which is that the formula for any cell can reference the value of any other cell or cells. It's just writing sexps in a grid?

    • wk_end a day ago ago

      It's quite bizarre. The idea of each "row" of a spreadsheet being used to compute one particular thing seems like a deep and fundamental misunderstanding of spreadsheets, and a two-tier hierarchy (at the top level, each s-expression gets its own cell; below that a cell can contain an arbitrarily nested s-expression) seems like a deep and fundamental misunderstanding of s-expressions.

      • klibertp a day ago ago

        It is a bit bizarre, but it's also a simplified demo. I might have spent too little time to fully grasp what exactly is being demoed, but it looks like it could be easily extended to support cell references (including ranges), to change the evaluation strategy, and so on. Though it might then lose the property the author seems to care about, ie., parallelizability of the computation.

        So yes, it is bizarre, but it probably is like that for a reason, since making it less bizarre would be trivial (and Emacs' calc and org-mode packages (the latter is even referenced in the post), among others, already do this). We just failed to immediately see that reason, I guess :)

  • cool_dude85 2 days ago ago

    A matrix doesn't seem like the ideal structure for such a thing given the requirement that all rows should have the same number of columns. I can't represent + 1 2 3 and + 1 2 as rows in a matrix.

  • downut a day ago ago

    I think this might be going down a similar path as Kenny Tilton's cells:

    https://github.com/kennytilton/kennytilton.github.io

    Same idea in python Trellis and one of Sean Parent's explorations at Adobe.

  • sea6ear a day ago ago

    This reminds me of [1], although I don't know how similar this is, or whether my link represents actual prior art.

    [1] https://www.siag.nu/siag/

  • agumonkey 13 hours ago ago

    makes me wonder if emacs calc could be a spreadsheet persistence format too..

  • teddyh a day ago ago

    See also: SIAG <https://siag.nu/siag/>

  • behnamoh 2 days ago ago

    What does the author achieve by hiding the vertical scrollbar on their minimalist website?

  • zarmin a day ago ago

    Sex Cauldron?! I thought they closed that place down!

  • hugodan a day ago ago

    Sure, sex is great, but have you ever tried Sexp?