Re: A83: Basic prog compiling


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

Re: A83: Basic prog compiling




I'm just saying that if you could find the core of the BASIC Assembler
somewhere in the ROM (and I wouldn't be too suprised if Linus already
has),  you'd only have to change it a little in order to make it so it
permanatly compiles the program.  Let's say if the interpreter turns the
BASIC code into ASM, you could modify it so it makes a program that calls
_createprog and ldir the code to the new program.

PS.  I know the problem with CURCOL on the string routine, you couldn't
control the colomn (or however you spell it) in BASIC.


On Mon, 3 Aug 1998 22:45:48 +0900 "James Matthews"
<matthews@tkb.att.ne.jp> writes:
>
>i wouldn't even bother trying if I were you...think about it.  How 
>would
>you translate the following basic command?
>
>If (expr(Str)-1>0) or (iPart(A/B*Y1(2)) = 1/3)
>Then
>Disp "Wow, it worked!"
>End
>
>Ok, so I'm overdoing it, but I love putting multiple commands on one 
>line
>like that...and I'm sure other people do to.  To change that to ASM 
>would
>be, well...difficult.
>
>And also commands like:
>normalcdf(), rref(), ref()...would be close to impossible to change to 
>ASM,
>unless they have Rom calls.
>
>I mean, if you wanna try, go ahead :)...but I'd doubt you'd get to
>far...but this is one point I wanna be proved wrong on...hehe
>
>Gambare!
>
>James.
>
>____________________
>
>James Matthews.
>E-mail (family):    matthews@tkb.att.ne.jp
>E-mail (private):  james_matthews@hotmail.com
>
>Homepage:  http://home.att.ne.jp/gold/tomcat21/index.html
>ICQ:  7413754
>____________________________________
>
>----------
>> From: VorTexx15@aol.com
>> To: assembly-83@lists.ticalc.org
>> Subject: Re: A83: Basic prog compiling
>> Date: Monday, August 03, 1998 1:31 PM
>> 
>> 
>> I'll program a computer program that converts basic to asm.  it may 
>not
>be
>> exactly like ti basic though.
>

_____________________________________________________________________
You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at http://www.juno.com
Or call Juno at (800) 654-JUNO [654-5866]


Follow-Ups: References: