English 中文(简体)
Spreadsheets that use a functional-programming language [closed]
原标题:

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 4 years ago.

I d like to know if there exists a spreadsheet application which uses an existing functional-programming language to define functions.

I ve already heard about Resolver One which uses python, but I m more interested in anything which uses a purely functional language like Haskell.

Thanks

最佳回答

Spreadsheets are quite a popular application among functional programmers. They have been a recurring theme in papers over the years. Some of the more memorable papers include

You can also read about an effort to make Excel more functional.

For each of these papers I have either read the paper or heard a talk based on the papers. None of the papers is fabulous but all of them are good. I think the one with the most interesting ideas is by Sestoft—and his experimental results are pretty amazing.

问题回答

There s Scheme In A Grid (http://siag.nu/siag/), but it s looking kind of out of date.

There s also Haxcel (http://www.mrtc.mdh.se/projects/Haxcel/), which was a thesis project.

If you want to do functional programming in a spreadsheet the best practical choice is probably Resolver One, as you ve already noted. (I would say "functional programming" in this context means first-class functions that work with other spreadsheet functions and the sheet itself - i.e. you could write a function that returns a function, call it and have the result go in a cell for yet other cells to call, etc. I don t know if OpenOffice and Google Docs will do that.)

A colleague and I have been working on a little project to do this within Excel, using a syntax very close to Excel formulas. I described it briefly in a comment on Roy MacLeans s VBA Blog:

http://roymacleanvba.wordpress.com/2009/08/04/domain-specific-languages-%e2%80%93-part-2/#comment-130

It s changed some since I posted that, but if you want to call our very-minimal syntax a "language", it s certainly "pure". (And I m still planning to release it to the vast universe of FP-implemented-in-VBA enthusiasts, but stuff keeps coming up...)

There is herculus.io

But it seems down currently.

The guide describes a concept I find very interesting: https://app.herculus.io/doc/guides/app/





相关问题
Excel spreadsheet like library in Swing (=improved JTable)

I m searching for a free, open-source if possible, Java swing library that improves the existent JTable (which is very simple). I want to do an application with a spreadsheet similar to Excel one. ...

writing large excel spreadsheets

has anybody found a library that works well with large spreadsheets? I ve tried apache s POI but it fails miserably working with large files - both reading and writing. It uses massive amounts of ...

Problem casting field when querying spreadsheet

I am trying to query an .xls spreadsheet with VBScript, but I have run into an issue when trying to cast a field. I connect to the spreadsheet like this. Set objConnection = CreateObject("ADODB....

热门标签