Re: writing extensions in a functional language

2017-03-11 Thread jan
Dear Gregely, I sadly speak no SML, so the transpiler is no help for me :-) But I (and I hope others on the list, too) would be interested in your results with that approach. Also, what we both will need to do, whether transpiling of not, is finding out how the API works in JavaScript. It seems

Re: writing extensions in a functional language

2017-03-11 Thread Gergely Buday
Dear Jan, a way to go would be to use SML to JS, a Standard ML to JavaScript compiler: https://github.com/melsman/mlkit/blob/master/README_SMLTOJS Would you be interested in doing experiments using this? Best - Gergely 2017-03-11 19:06 időpontban jan ezt írta: Hello, I am also on my way

Re: writing extensions in a functional language

2017-03-11 Thread jan
Hello, I am also on my way to learn to write extensions (hopefully) – currently, I am using Javascript to learn it. While not a typical functional language (like Haskell or Lisp), it has many functional features (historically inspired by Self and Scheme), lambda, currying, younameit… works pretty

Re: writing extensions in a functional language

2017-03-11 Thread Heiko Tietze
There is also a Delphi binding at https://sourceforge.net/projects/uno-pas-bridge/. Unfortunately it wasn't updated for years and a quick test with Freepascal failed. On 02/16/2017 11:28 AM, Stephan Bergmann wrote: > On 02/15/2017 12:12 PM, Gergely Buday wrote: >> I am interested in writing an e

Re: writing extensions in a functional language

2017-02-16 Thread Stephan Bergmann
On 02/15/2017 12:12 PM, Gergely Buday wrote: I am interested in writing an extension to Libre Office, particularly Calc. I would like to do it in a functional language. My favourite is Standard ML and it is quite portable. How much work, i.e. how many lines of code would it be to write an inte

Re: writing extensions in a functional language

2017-02-16 Thread Jiri Danek
On Wed, Feb 15, 2017 at 12:12 PM, Gergely Buday < buday.gerg...@uni-eszterhazy.hu> wrote: > Where in the Libre Office source tree I can find the glue code for various > extension languages? > I do not remember the code locations, but I once had a look at Java and Python bindings. For python, some

writing extensions in a functional language

2017-02-15 Thread Gergely Buday
Dear Developers, I am interested in writing an extension to Libre Office, particularly Calc. I would like to do it in a functional language. My favourite is Standard ML and it is quite portable. How much work, i.e. how many lines of code would it be to write an interface for ML/Libr