At 13:57 08/01/98 +0100, you wrote:
>
> Hello guys, I'm new in MSX secta, but I have a crazy idea and I
>want to share it with the people: a brand new BASIC compiler.
>
> Think about it: a new language that handles long variable names,
>modern sentences (like 'while'), no line numbers, etc. But the most
important,
>that uses all the available memory. The code generated would be much faster
>than interpreted BASIC (though never as fast as assembler).
That would be nice, a kind of GFA BASIC one of the most popular BASIC of
the ATARI ST computer I liked to code with this BASIC....
Please also think about making possible the use of interface like RS232 if
possible...
I ask this because I actualy work on a kind of developer kit for 68HC11
Micro Controler from Motorola, I first wanted to make the developper kit
for Win95 but I'm not a PC coder and I also need to have quickly an
operatioannal test program that alow me to send and receive data to and
from the Hc11....
All this text to say that coding a program in basic and make it possible to
be executed without the need to be interpreted....
> The addresses would be of 22 bits: 8 for the (logic) segment
>and 14 for the offset inside the segment.
breaking the about 20Kb limit is a good idea!!!! 1998 is the year of limit
breakdown ;-)
> The code generated would use one page for executing and another for
>accesing data (respectively, pages 1 and 2). In the page 0 there
>could be some general routines and the stack (it would be greater than
>usual because of the space needed for evaluating expressions and local
>variables).
Do you mean that the copilated file will be DOS executable??
> I am thinking also making a system of including header files and
>linking in several files, but it's for later versions.
good idea to.
> The typical functions of BASIC will be there, but a little
> different. This is because I want to make the language syntax-independant.
>
> Another point is the need or not to declare variables. It
>depends on the preferences of the users. I think BASIC users will
>prefer optional declarations.
About variable I'm not against the way that C or PASCAL work, and
declaration is a way to know in which direction your are coding. By coding
in assembler you learn that most of the problem are solved if you write
down your program on paper before type it on your keyboard, this way you
now all the variable you need.
> It could also include local variables and functions.
like in C
>
> Well, that's all for the moment. Perhaps you had this idea
>before or it interests you. I would thank some words if so.
not yet.
Many greetings from PaRIS
Go on with this project!!!!!
Martial
alias: SLAYERMAN
function: coder
group: ABYSS Software
real name:
Martial BENOIT
36, av Maurice Gallais
93150 LE BLANC MESNIL
FRANCE
TEL: 01 48 65 22 79
****
MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED] and put
in the body (not subject) "unsubscribe msx [EMAIL PROTECTED]" (without the
quotes :-) Problems? contact [EMAIL PROTECTED] (www.stack.nl/~wiebe/mailinglist/)
****