EmbeddedRelated.com
Forums
The 2024 Embedded Online Conference

Basic Interpreter/Compiler

Started by tpicker12003 October 21, 2005
Does anyone make an interpreter/compiler for the MSP430 in any kind of 
Basic?

Thanks in advance, ...Tim






Beginning Microcontrollers with the MSP430

Paul Curtis of Rowley developed this interpreter:

http://www.rowley.co.uk/msp430/basic.htm




There is a newer, more comprehensive interpreter on the way, written in
C for portability between processors (but possibly not between
compilers, I don't want to port it everywhere).

-- Paul.

> -----Original Message-----
> From: Eric Engler [mailto:englere.geo@engl...]
> Sent: 25 October 2005 04:15
> To: msp430@msp4...
> Subject: [msp430] Re: Basic Interpreter/Compiler
> 
> 
> Paul Curtis of Rowley developed this interpreter:
> 
> http://www.rowley.co.uk/msp430/basic.htm
> 
> 
> 
> 
> 
> ------------------------ Yahoo! Groups Sponsor 
> --------------------~--> 
> Fair play? Video games influencing politics. Click and talk back!
> http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/CFFolB/TM
> --------------------------
> ------~-> 
> 
> .
> 
>  
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 

--- In msp430@msp4..., "Paul Curtis" <plc@r...> wrote:
>
> There is a newer, more comprehensive interpreter on the way, written in
> C for portability between processors (but possibly not between
> compilers, I don't want to port it everywhere).

Cool! Maybe we could use it on an ARM?




Would that be a prosthetic ARM?

Al

Eric Engler wrote:

>--- In msp430@msp4..., "Paul Curtis"
<plc@r...> wrote:
>  
>
>>There is a newer, more comprehensive interpreter on the way, written in
>>C for portability between processors (but possibly not between
>>compilers, I don't want to port it everywhere).
>>    
>>
>
>Cool! Maybe we could use it on an ARM?
>
>
>
>
>
>
>.
>
> 
>Yahoo! Groups Links
>
>
>
> 
>
>
>
>
>  
>


Eric,

> --- In msp430@msp4..., "Paul Curtis"
<plc@r...> wrote:
> >
> > There is a newer, more comprehensive interpreter on the 
> way, written in
> > C for portability between processors (but possibly not between
> > compilers, I don't want to port it everywhere).
> 
> Cool! Maybe we could use it on an ARM?

It works very well on an ARM.

-- Paul.

About 4 years ago - just for fun - I ported a BASIC (in C) onto an ARM [ a 
dedicated GSM mobile phone version].

It worked OK ... but I couldn't really think of anything useful to do with 
it on a mobile phone, especially as the interpreter code size was BIG!

ARM assembler [or C] is much more fun!

----- Original Message ----- 
From: "Eric Engler" <englere.geo@engl...>
To: <msp430@msp4...>
Sent: Wednesday, October 26, 2005 2:28 AM
Subject: [msp430] Re: Basic Interpreter/Compiler


> --- In msp430@msp4..., "Paul Curtis"
<plc@r...> wrote:
>>
>> There is a newer, more comprehensive interpreter on the way, written in
>> C for portability between processors (but possibly not between
>> compilers, I don't want to port it everywhere).
>
> Cool! Maybe we could use it on an ARM?
>
>
>
>
>
>
> .
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
> 


Hi Richard,

> About 4 years ago - just for fun - I ported a
BASIC (in C) 
> onto an ARM [ a 
> dedicated GSM mobile phone version].
> It worked OK ... but I couldn't really think of anything 
> useful to do with 
> it on a mobile phone, especially as the interpreter code size was BIG!

I need to strongly disagree here.  The immediacy of a good BASIC is
great and the birthplace of the personal computer idustry.  The board
I'm using it on now has a keyboard & mouse interface, an ARM7, lots of
RAM, an MMC card interface for mass storage, video out and so on.  It
works really well as a small computer.

-- Paul.

Hi Paul,

Don't get me wrong - I am/was a great BASIC fan.

I wrote a freeware integer BASIC [in asm] for the Siemens C167 and then 
later a floating point BASIC [in C] with an integrated DSP library also for 
the C167 & TriCore as a commercial product.

It's just the GSM phone platform that didn't really make sense!

Richard


----- Original Message ----- 
From: "Paul Curtis" <plc@plc@...>
To: <msp430@msp4...>
Sent: Wednesday, October 26, 2005 8:55 AM
Subject: RE: [msp430] Re: Basic Interpreter/Compiler


> Hi Richard,
>
>> About 4 years ago - just for fun - I ported a BASIC (in C)
>> onto an ARM [ a
>> dedicated GSM mobile phone version].
>> It worked OK ... but I couldn't really think of anything
>> useful to do with
>> it on a mobile phone, especially as the interpreter code size was BIG!
>
> I need to strongly disagree here.  The immediacy of a good BASIC is
> great and the birthplace of the personal computer idustry.  The board
> I'm using it on now has a keyboard & mouse interface, an ARM7,
lots of
> RAM, an MMC card interface for mass storage, video out and so on.  It
> works really well as a small computer.
>
> -- Paul.
>
>
>
> .
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
> 


Jeez...

About 20 years ago I wrote a basic-to-bytecode ( my own bytecode ) 
system, which semi-compiled the source into a packet fast-to-run 
intermediate code, and an execute engine. Java before it's time.

ooh, look, I'm on the web...
http://www.xs4all.nl/~fjkraan/comp/dai/insideInfo.html
http://www.xs4all.nl/~fjkraan/comp/dai/PCRM/PCRM_c02.html

Actually I wrote a position paper describing the language of the future 
- it got 90% of Java's ideas right. I didn't know much about 
object-orientation though :-)

All to get an 8080 to do something, anything, at a useful speed.

It would go like shit off a shovel on an MSP430. floating point could 
still be a bit glue-like though.

I wonder if it's time to dust off the design :-)

David



The 2024 Embedded Online Conference