Sponsored links: Algebra eBooks
 

Help Index

A

B

C

D

E

F

G

H

I

J

K

L

M

N

O

P

Q

R

S

T

U

V

W

X

Y

Z

The Maxima on-line user's manual

Algebra Calculator

Search:

Parse_string Calculator

Parse_string

Function: parse_string (<str>) Parse the string <str> as a Maxima expression (do not evaluate it). The string <str> may or may not have a terminator (dollar sign $ or semicolon ;). Only the first expression is parsed, if there is more than one.

Complain if <str> is not a string.

Examples:

          (%i1) parse_string ("foo: 42; bar: foo^2 + baz");
          (%o1)                    foo : 42
          (%i2) parse_string ("(foo: 42, bar: foo^2 + baz)");
                                             2
          (%o2)          (foo : 42, bar : foo  + baz)

See also eval_string.

(%o1)                                true
(%i2) 

Parse_string Example

Related Examples

string

answer:x+2;

not listp(answer);

not sposition("=",str...

Calculate

parse_string-simplode-string

test:[1,2];

t:simplode (test);

parse_string(t);

Calculate

string

string("y''"+{a}*r+{b...

Calculate

string

:lisp (setf my-string...

:lisp my-string;

Calculate

string

int:32;

string:32;

int+string+string+int...

Calculate

string

string(ahoj);

Calculate

string

a . a . b . b . b + a...

string (a . a . b . ...

Calculate

string-substring

a: xyz;

string(a);

substring(string(a),1...

Calculate

string

string((-(spotRate+fo...

Calculate