Re: TIB: A suggestion
[Prev][Next][Index][Thread]
Re: TIB: A suggestion
>what would be required would be a translation program that analyzes a basic
>program and tries to write it as best it can in asm
Correct. Its called a compiler, but who in their right mind is
going to create a compiler to translate from basic to Assembly. I mean
doesn't basic seem a bit limited to anyone else. Why doesn't the person who
wants this done just learn how to program in basic. In reference to the
compiling I have one worry. Does the Shell handle those commands in some
way. So to compile the program correctly. The programmer of the compiler
would need to see what actually happens. I imagine it as sort of in layers.
------------ Basic -------------
------------ Shell -------------
------------Assembly-------------
So...
Basic is equivalent to C. It already has to be translated into
Assembly to be run. The Shell does the compiling. Now If some one could get
their hands on the source code for TI's GUI, it would be much simpler to
create a compiler. But why stop there why not create a high level language(
like basic) with a better structure maybe some built in functions, let it
use libraries etc. See where it could go. Now this language would have to
be able to run across multiple calculators and perhaps computers(store
libraries on computers). So why not create a Object Oriented graphing
calculator language. ;)
Sub Rant_()
Dim me as object
Dim box as object
Dim Rant as Textstream
Set Me = Computergeek.object
Set Box = Box.object
Set Rant = Me.Hot_Air
Box.type = Soap
While Rant.EndOfFile = False
Rant.ReadLine
Wend
Remove me from box
Set box = Nothing
Set Me = Nothing 'Ahhhhhhh I am melting!!!!!!!!!!!!!!!!!!
Set Rant = Nothing 'Rant Over
End Sub
References: