Re: execute-external-file & execute-general-script

2024-06-09 Thread Thomas Passin
Good to know, Felix. Please see if you can test it on one or another Linux distros - I had a hard time getting the script to work with some of them. I think getting the script to work is an important milestone. It means that we can develop code with LeoJs in many other languages than javascri

Re: execute-external-file & execute-general-script

2024-06-09 Thread Félix
I got it working with the julia setup you provided! thanks a lot for your example. I also tried it with a simple shell script like this and it also worked [image: example.png] and I also got the 'execute-general-script' command working so I'll release a new LeoJS beta version with all the new

Re: execute-external-file & execute-general-script

2024-06-09 Thread Thomas Passin
Go, Félix! On Sunday, June 9, 2024 at 5:39:48 PM UTC-4 Félix wrote: > Merci Thomas! :) > > On Sunday, June 9, 2024 at 4:26:16 PM UTC-4 tbp1...@gmail.com wrote: > >> For the *execute-external-file* script*, *here is one of my test files, >> a tiny Julia file (of course, install Julia first): >>

Re: execute-external-file & execute-general-script

2024-06-09 Thread Félix
Merci Thomas! :) On Sunday, June 9, 2024 at 4:26:16 PM UTC-4 tbp1...@gmail.com wrote: > For the *execute-external-file* script*, *here is one of my test files, > a tiny Julia file (of course, install Julia first): > > headline: @file julia-1.jl > # function to calculate the volume of a sphere >

Re: execute-external-file & execute-general-script

2024-06-09 Thread Thomas Passin
For the *execute-external-file* script*, *here is one of my test files, a tiny Julia file (of course, install Julia first): headline: @file julia-1.jl # function to calculate the volume of a sphere function sphere_vol(r) # julia allows Unicode names (in UTF-8 encoding) # so either "pi" o

execute-external-file & execute-general-script

2024-06-09 Thread Félix
Hello Leonistas! :) I'm currently implementing and testing the *execute-external-file *& *execute-general-script *commands in LeoJS. *execute-external-file was made by Thomas around February 2023 while execute-general-script was made by Edward around june 2021.* I was just wondering if anyone