SJulia already works as a package (Jim Garrison made the changes). I just 
learned that it should be possible to add a mode to the REPL in the package 
code, so that the fork/PR-to-Julia is no longer necessary. I hope to get to 
this soon.

--John

El lunes, 20 de abril de 2015, 18:14:27 (UTC+2), Viral Shah escribió:
>
> Would it be possible to install SJulia as a Julia package, and switch 
> between SJulia and Julia - kind of like how we have the help> and the 
> shell> prompts, which can be activated with ? and ;
>
> -viral
>
> On Monday, April 20, 2015 at 5:46:08 PM UTC+5:30, lapeyre....@gmail.com 
> wrote:
>>
>> Here is SJulia
>>
>> https://github.com/jlapeyre/SJulia
>>
>> sjulia> f = (x^y + y^z + z^x)^3
>> (x ^ y + y ^ z + z ^ x) ^ 3
>>
>> sjulia> f = (x^y + y^z)^3
>> (x ^ y + y ^ z) ^ 3
>>
>> sjulia> g = Expand(f)
>> x ^ (3 * y) + 3 * (x ^ (2 * y)) * (y ^ z) + 3 * (x ^ y) * (y ^ (2 * z)) + 
>> y ^ (3 * z)
>>
>> SJulia is very close in spirit to Mathematica (Wolfram). This is more or 
>> less a language written in Julia,
>> although it can be made to communicate well with Julia. From the user's 
>> perspective, there are advantages and disadvantages to
>> implementing symbolic capability as an extension to languages like Julia 
>> or Python rather than as
>> another language. I think it is possible to have a language that supports 
>> both.
>>
>> Also, CAS can describe various software tools that are designed to do 
>> very different things. For instance, a CAS may  be intended to implement 
>> more or less mathematical rigor. It may have a hierarchy of computer 
>> language types meant to represent mathematical objects. Or
>> it may (like Mathematica, Maple, and Maxima) be based on 'expressions' 
>> that are essentially devoid of meaning. All of these distinctions, 
>> particularly the latter, regarding purpose, are typically confused in 
>> discussions on internet fora.
>>
>> I think that Julia is a great language for symbolic computation. Have fun!
>> --John
>>
>>
>> On Sunday, April 19, 2015 at 7:47:34 PM UTC+2, Marcus Appelros wrote:
>>>
>>> Hi Kevin, thanks for the link! From the end of that thread:
>>>
>>> "Has anybody written pure Julia symbolic math for things like:
>>>
>>> f = (x**y + y**z + z**x)**100
>>> g = f.expand()"
>>>
>>> "As far as I know there is no Julia package which supports such symbolic 
>>> expressions and manipulation."
>>>
>>> Now there is!
>>>
>>> Saw a more recent dev discussion calling for someone to write a package 
>>> like this. Have looked through the package list many times and never found 
>>> anything that appeared alike the vision of Equations, SymPy has some common 
>>> functionality however certainly didn't start developing in Julia to use 
>>> Python.
>>>
>>> Developing this code is indeed very enjoying and as more of the planned 
>>> features become released a solid user base will be established, have 
>>> expanded the todolist with an impelling to read the discussion in your link 
>>> so as to hasten the construction of such a foundation, as per your 
>>> recommendation. 
>>>
>>> With love. <3
>>>
>>

Reply via email to