RE: LZ: New TI-BASIC Compiler


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

RE: LZ: New TI-BASIC Compiler



TI-BASIC, on the TI-85, is an interpreted language. You CAN NOT compile an 
interpreted language. You just can't. The only way around it is to make calls 
to the TI-85's BASIC interpreter whenever code generated on-the-fly needs to 
be executed. IMO, this is not worth the trouble. That is the reason that a 
compiler would not work with *.85p files.
________________

Jeff Tyrrill's TI Calculator Site: Contains programming tips, undocumented 
discoveries and tips for power users, and comparisons of the different 
calculator models.
http://tyrrill-ticalc.home.ml.org/

TI-Files member: The premiere TI site on the web, with reviews of games and 
more.
http://ti-files.home.ml.org/


-----Original Message-----
From:	owner-list-zshell@lists.ticalc.org  On Behalf Of Richard Bowman
Sent:	Wednesday, June 18, 1997 9:40 AM
To:	list-zshell@lists.ticalc.org
Subject:	Re: LZ: New TI-BASIC Compiler

This is a multi-part message in MIME format.

------=_NextPart_000_01BC7BE4.C78D08C0
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable

I personally think that a BASIC compiler is a great idea. It would let =
all of the current BASIC programs run at twice their speed, and allow =
programmers to get more math related software done faster.
And as to it all fitting on the calculator, I agree that it probaly =
wouldn't fit. But how about the compiler being PC based and have it open =
85p files? That would allow it to be as big as necessary. It could work =
similar to TASM -> actually, it could just generate Asm code and then =
call TASM to make the compiled code.
Just my thoughts
Richard
TIonline
http://tionline.home.ml.org/
The NEWEST TI calculator site available on the Internet
Changing every day, so visit often

Just opened 6/18/97 - Check it out

 ----
From: Henry Zektser <henryz@fermi.walkersville.fr.k12.md.us>
To: list-zshell@lists.ticalc.org
Date: Wednesday, June 18, 1997 9:49 AM
Subject: Re: LZ: New TI-BASIC Compiler

i personally agree with the fact that TI-BASIC would be kinda useless. =
as
far as developing a c++ compiler for the ti, let's see someone put all
that parsing and tokenizing into 32K of memory with enough of the memory
left to hold the object code and the finished program. Also, remember, =
no
one is going to use something that takes up 90%  of their memory (ahem
usgard with the fancy shell and all the libs -- i happen to like the =
small
shell a lot tho)

--<Henry Zektser>--
-----!<<cgiman>>!-----
hz@ns1.wanfear.com   henryz@fermi.walkersville.fr.k12.md.us
                                                              _( (~\
       _ _                        /                          ( \> > \
   -/~/ / ~\                     :;                \       _  > /(~\/
  || | | /\ ;\                   |l      _____     |;     ( \/    > >
  _\\)\)\)/ ;;;                  `8o __-~     ~\   d|      \      //
///(())(__/~;;\                  "88p;.  -. _\_;.oP        (_._/ /
(((__   __ \\   \                  `>,% (\  (\./)8"         ;:'  i
)))--`.'-- (( ;,8 \               ,;%%%:  ./V^^^V'          ;.   ;.
((\   |   /)) .,88  `: ..,,;;;;,-::::::'_::\   ||\         ;[8:   ;
)|  ~-~  |(|(888; ..``'::::8888oooooo.  :\`^^^/,,~--._    |88::  |
|\ -=3D=3D=3D- /|  \8;; ``:.      oo.8888888888:`((( o.ooo8888Oo;:;:'  |
|_~-___-~_|   `-\.   `        `o`88888888b` )) 888b88888P""'     ;
; ~~~~;~~         "`--_`.       b`888888888;(.,"888b888"  ..::;-'
   ;      ;              ~"-....  b`8888888:::::.`8888. .:;;;''
      ;    ;                 `:::. `:::OOO:::::::.`OO' ;;;''
:       ;                     `.      "``::::::''    .'
    ;                           `.   \_              /
  ;       ;                       +:   ~~--  `:'  -';
                                   `:         : .::/=20
      ;                            ;;+_  :::. :..;;;
                                   ;;;;;;,;;;;;;;;,;



On Tue, 17 Jun 1997, Betten wrote:

> Martin,
> Why are you interested in programming a compiler for TI-BASIC =
programs?
> It seems to me that the majority of the people that are subscribed to =
this
> mailing list are not content to program in TI-BASIC at all and have =
moved
> on to mainly programming in Z80 assembly language.  I can see that =
there
> might be some interest from some of the less intelligent TI-85 users =
in a
> TI-BASIC compiler, but I would advise not putting much effort into it.
> Honestly, I would work on creating or improving a TI-85 C++ compiler,
> because, in my opinion, C++ is a much better computer programming =
language
> than BASIC.  If you would be interested in coding a C++ compiler for =
the
> TI-85 then I would be interested in lending some help to the project.
> Sincerely,
> Steven Betten
> <sgbetten@hotmail.com>
> <betten5@mindspring.com>
>



------=_NextPart_000_01BC7BE4.C78D08C0
Content-Type: text/html;
	charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML 3.2//EN">
<HTML>
<HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<HTML><META content=3D'"Trident 4.71.0544.0"' name=3DGENERATOR>

</HEAD>
<BODY>
<P><FONT face=3DArial size=3D2><FONT size=3D2>I personally think that a =
BASIC compiler=20
is a great idea. It would let all of the current BASIC programs run at =
twice=20
their speed, and allow programmers to get more math related software =
done=20
faster.</FONT></FONT>

<P><FONT face=3DArial size=3D2><FONT size=3D2>And as to it all fitting =
on the=20
calculator, I agree that it probaly wouldn't fit. But how about the =
compiler=20
being PC based and have it open 85p files? That would allow it to be as =
big as=20
necessary. It could work similar to TASM -&gt; actually, it could just =
generate=20
Asm code and then call TASM to make the compiled code.</FONT></FONT>

<P><FONT face=3DArial size=3D2><FONT size=3D2>Just my =
thoughts</FONT></FONT>

<P><FONT face=3DArial size=3D2><FONT size=3D2>Richard</FONT></FONT>

<P><FONT face=3DArial size=3D2><FONT size=3D2>TIonline<BR>
</FONT></FONT><FONT face=3DArial size=3D2><FONT size=3D2><A=20
href=3D"http://tionline.home.ml.org/">http://tionline.home.ml.org/</A><BR=
>
The NEWEST TI calculator site available on the Internet<BR>
Changing every day, so visit often<BR>&nbsp;
<BR>
Just opened 6/18/97 - Check it out<BR>&nbsp;
</FONT></FONT><FONT face=3DArial size=3D2></P>
 ----<BR>
<B>From: </B>Henry Zektser =
&lt;henryz@fermi.walkersville.fr.k12.md.us&gt;<BR>
<B>To: </B><A=20
href=3D"mailto:list-zshell@lists.ticalc.org">list-zshell@lists.ticalc.org=
</A><BR>
<B>Date: </B>Wednesday, June 18, 1997 9:49 AM<BR>
<B>Subject: </B>Re: LZ: New TI-BASIC Compiler<BR>
<BR>
<HTML><BODY><FONT size=3D2>i personally agree with the fact that =
TI-BASIC would be=20
kinda useless. as<BR>
far as developing a c++ compiler for the ti, let's see someone put =
all<BR>
that parsing and tokenizing into 32K of memory with enough of the =
memory<BR>
left to hold the object code and the finished program. Also, remember, =
no<BR>
one is going to use something that takes up 90%&nbsp; of their memory =
(ahem<BR>
usgard with the fancy shell and all the libs -- i happen to like the =
small<BR>
shell a lot tho)<BR>
<BR>
--&lt;Henry Zektser&gt;--<BR>
-----!&lt;&lt;cgiman&gt;&gt;!-----<BR>
<A href=3D"mailto:hz@ns1.wanfear.com">hz@ns1.wanfear.com</A>&nbsp;&nbsp; =
<A=20
href=3D"mailto:henryz@fermi.walkersville.fr.k12.md.us">henryz@fermi.walke=
rsville.fr.k12.md.us</A><BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;=20
_( (~\<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; _=20
_&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
/&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbs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>
&gt; It seems to me that the majority of the people that are subscribed =
to=20
this<BR>
&gt; mailing list are not content to program in TI-BASIC at all and have =

moved<BR>
&gt; on to mainly programming in Z80 assembly language.&nbsp; I can see =
that=20
there<BR>
&gt; might be some interest from some of the less intelligent TI-85 =
users in=20
a<BR>
&gt; TI-BASIC compiler, but I would advise not putting much effort into =
it.<BR>
&gt; Honestly, I would work on creating or improving a TI-85 C++ =
compiler,<BR>
&gt; because, in my opinion, C++ is a much better computer programming=20
language<BR>
&gt; than BASIC.&nbsp; If you would be interested in coding a C++ =
compiler for=20
the<BR>
&gt; TI-85 then I would be interested in lending some help to the =
project.<BR>
&gt; Sincerely,<BR>
&gt; Steven Betten<BR>
&gt; &lt;<A =
href=3D"mailto:sgbetten@hotmail.com">sgbetten@hotmail.com</A>&gt;<BR>
&gt; &lt;<A=20
href=3D"mailto:betten5@mindspring.com">betten5@mindspring.com</A>&gt;<BR>=

&gt;<BR>
<BR>
</FONT></FONT>
</BODY></HTML>

------=_NextPart_000_01BC7BE4.C78D08C0--


Follow-Ups: