Re: A function that expands value() and more
- Posted by _tom (admin) May 24, 2018
- 1669 views
Welcome to OE.
There is no interactive shell for Euphoria. We do not run individual statements from a command line in the Python style.
It is much easier to get an answer on Euphoria from the forum than stackoverflow.
Nothing wrong with your code.
Let's call it p00.ex. I test on Linux.
Compiling gives me:
euc p00.ex --> p00 -- 200 kB
Binding gives me:
eubind p00.ex --> p00 -- 2.1 Mb
Binding is an interpreter and code all-in-one.
One coding trick that is available is:
... if parm[i] >= '0' and parm[i] <= '9' then ...
Think of plain text and numbers in Euphoria as the same thing.
Another option is to look a Phix. This is another way to write Euphoria code.
_tom