Serge D. Mechveliani wrote:
>
> People,
> may I ask more questions about parse-interpret-unparse ?
> There is a book, and somewhat a helpful browser, still it occurs
> difficult for me to find some things.
>
>
> About `parse', Axiom says that there is not such an exposed operation.
> Also I find the category
> InputFormFunctions1
>
> which exposes the operations interpret, coerceToType ...
^^^^^^^
exports, they are not exposed.
>
> But how to obtain the input form from a string ?
>
> For example, taking "2+3",
>
(1) -> parse("2+3")$InputForm
(1) (+ 2 3)
Type: InputForm
InputForm is not exposed, which means that you either must explicitly
or implicitly say that you want operation form it, or
expose it:
(2) -> )expose InputForm
InputForm is now explicitly exposed in frame frame1
(2) -> parse("2+3")
(2) (+ 2 3)
Type: InputForm
Note: if agument is of type T, FriCAS tries to find corresponding
operation in T (so type implicitly says where to search for
an operation).
--
Waldek Hebisch
[email protected]
--
You received this message because you are subscribed to the Google Groups
"FriCAS - computer algebra system" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/fricas-devel?hl=en.