[frege-programming-language] Re: Embed Frege in Java/Scala

2018-02-04 Thread Marimuthu Madasamy
Hi, Thank you for trying out. Lot of good findings! 1. Loading multiple modules all at once is not supported in the interpreter at the moment but compiler obviously supports it so I think we should be able to add support in interpreter also. 2. I just learned that we can actually provide file n

[frege-programming-language] Re: Embed Frege in Java/Scala

2018-02-02 Thread Ingo W.
Small correction here: Am Montag, 29. Januar 2018 14:41:24 UTC+1 schrieb zcourts: > > Given the clear difference between the submission and later execution of > the expressions, I'm wondering if it's feasible to use the Frege compiler > to actually generate code and keep reference to the compile

[frege-programming-language] Re: Embed Frege in Java/Scala

2018-01-30 Thread zcourts
I've had a chance to play with this and have come up with a few questions. 1. I've figured from the tests that modules can be loaded by using `eval` one at a time. Is there a way to load multiple modules without knowing the dependency order? Using `eval` I'd have to make sure that the modules ar

[frege-programming-language] Re: Embed Frege in Java/Scala

2018-01-30 Thread zcourts
Hi Marimuthu, Thank you for the reply. That is very insightful! I'll experiment today/tomorrow and see how I get on. For the moment however, you're direction's given more than enough to dive in. Thanks On Tuesday, 30 January 2018 03:30:03 UTC, Marimuthu Madasamy wrote: > > Hi, > > Your use case

[frege-programming-language] Re: Embed Frege in Java/Scala

2018-01-29 Thread Marimuthu Madasamy
Hi, Your use case sounds exactly like Frege REPL as you figured out. In fact, it is more related to online REPL with your sandbox concerns. Luckily both command line REPL and online REPL use a base library called frege-interpreter . Frege Interpreter