[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Axiom-mail] RE: AXIOM / TeXmacs problems (bugs?)

From: Francois Maltey
Subject: Re: [Axiom-mail] RE: AXIOM / TeXmacs problems (bugs?)
Date: 08 Dec 2003 08:40:46 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

"Bill Page" <address@hidden> writes:

> I have no problem entering muli-line commands with TeXmacs
> and Axiom. I use just shift+Enter. In fact I have posted
> several examples of exactly this at the Axiom web site
> (unfortunately still not available! :((
> There is no need to use the _ character in TeXmacs. Just use
> 'shift RETURN'. It does not need to be translated into _.
> All that _ does in Axiom is to concatonate the input into
> an effectively single long line of input. TeXmacs does that
> automatically when you use shift+Enter ('shift RETURN').
> Forget about _. It is not needed. Just omit it whenever
> you enter multi-line input in TeXmacs. Use shift+Enter to
> go to a new line and continue your multi-line input. This
> is just like in Maple. When you press Enter on the last
> line of input the whole thing is sent to Axiom as one long
> line of input.
> What problems do you have if you use this approach?

I find it's not pretty to have two results with the same command :
one in the interpret, an other when you are reading a file.
gives 4 in the interpet, and 2 in a file. 
It's not fine at all !

I use a lot of languages, and I  believe the more pretty one
and the more easy to learn (and teach) are the language whith block :
as if ... then .... else ... end_if
   for ... do ... end_for
   while ... do ... end_while

I can make mistakes with calculus in language with parenthesis as 
for ... do (...) or for ... do {...}

A language with only one instruction after a do or a else
gives error when I add a print ("I'm here") in a test or a loop
because I forget to make the block.

Is it possible to have exactly the same syntax in axiom interpret
and axiom files ? 

Have a good day.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]