Francesco Bonazzi wrote:
>
> I think that creating a SPAD-to-Julia compiler is a hard task, but
> nonetheless I believe that adding CAS support to Julia would benefit both
> Julia and the CAS itself. I believe that Julia offers a much easier
> learning curve for beginners than SPAD, and the CAS developing community
> could become much larger, with considerable improvement to the code.
>
> I was wondering whether it is possible to use aldor or the spad compiler to
> generate the "parsed aldor" format of FriCAS (the *-Fap* parameter in
> aldor), so that the source code parsing would be much easier.
There are four possible forms of parsed output. Typing on
FriCAS command line:
)boot $RawParseOnly := true
cause FriCAS instead of compiling to print raw parse tree
(that is directly output from the parser).
)boot $FlatParseOnly := true
prints somewhat flattened version of parse tree (bigger
parse trees should be more readable, but otherwise this
form is not used)
)boot $PostTranOnly := true
prints parse tree after first auxiliary transformation
)boot $PrintOnly := true
prints parse tree after second auxiliary transformation.
This form is used by Spad compiler.
> Otherwise, do you have any other suggestions or do you believe that such
> work is infeasible by automatic translation?
It is interesting project. Difficulty depends largely on how
well Spad concepts map to Julia. IIUC core ideas of Julia
are quite similar to Spad, so it looks possible.
--
Waldek Hebisch
[email protected]
--
You received this message because you are subscribed to the Google Groups
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.