Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Icon > Mapr Icon Evalu...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 141 of 181
Post > Topic >>

Mapr Icon Evaluator

by "ernobe" <ernobe@[EMAIL PROTECTED] > Jan 20, 2007 at 06:07 PM

I've created an Icon evaluator called Mapr ( short for main procedure
). It evaluates every Icon expression that is entered, and if you want
the result of several, you have two options, either use brackets and
parenthesis in the usual fashion, or declare your own procedures. The
user declared procedures can be used in subsequent expressions and
procedures, and can be saved to a file. Type 'bye' to exit the program
and 'mapr ?' or 'mapr help' for help.  You can see the source code at:
http://www.costarricense.cr/pagina/ernobe/mapr.txt
The program prints out that which the expressions or procedures write
and the result of them.  For example,

$ mapr
procedure main()
_

it begins printing out the main procedure declaration, then if you
write this:

$ mapr
procedure main()
write( "hello world" )

it will respond with this:

$ mapr
procedure main()
write( "hello world" )
end

hello world
result : "hello world"

I have only one problem, and it is that I haven't been able to get it
to work on Windows ( in Windows emulator Wine ).  It reports that it is
unable to execute nticonx ( with nticont -s mapr.icn -x ).  Can anyone
help me get it to work on Windows?




 2 Posts in Topic:
Mapr Icon Evaluator
"ernobe" <er  2007-01-20 18:07:22 
Re: Mapr Icon Evaluator
"ernobe" <er  2007-01-22 09:32:28 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed May 14 17:17:05 CDT 2008.