BBC BASIC
« IDE / Editor / Interpreter architecture »

Welcome Guest. Please Login or Register.
Jan 20th, 2018, 6:12pm


Cross-platform BBC BASIC (Win32, Linux x86, Android, Mac OS-X, Raspberry Pi)

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: IDE / Editor / Interpreter architecture  (Read 431 times)
Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 689
xx IDE / Editor / Interpreter architecture
« Thread started on: Jan 7th, 2016, 2:02pm »

I've substantially succeeded in porting my IA-32 BBC BASIC interpreter to Android (86), using SDL2. There are several features that don't work (or don't work correctly) but they are not critical. However there's no IDE - not even a simple program editor - so there's currently no way of entering, editing or debugging BBC BASIC programs! Effectively it is useless. sad

I don't currently have any idea how to incorporate an IDE on Android. On Windows, Linux and MacOS it's (relatively) straightforward: the IDE or program editor can create a program (as a file which is stored in some shared part of the file system) and the BBC BASIC interpreter can read and execute that file to run the program.

But Android doesn't have a conventional filing system; an app can create a file that it later reads back, but the file is not (straightforwardly) accessible by any other apps. So the normal IDE + interpreter approach doesn't work. (Strictly speaking limited means of communication between apps are provided, but you need to be able to program in Java to access them).

So I'm stuck. Being a 'dinosaur' who doesn't even own a smartphone doesn't help! Perhaps somebody with more experience of mobile OSes like Android or iOS can suggest how we might achieve a usable BBC BASIC app.

Richard.
User IP Logged

roy
New Member
Image


member is offline

Avatar




PM


Posts: 5
xx Re: IDE / Editor / Interpreter architecture
« Reply #1 on: Jan 7th, 2016, 2:52pm »

Hi Richard

I wonder if the links below would give you some ideas
http://laughton.com/basic/
http://mougino.free.fr/rfo-basic/

Regards Roy
User IP Logged

Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 689
xx Re: IDE / Editor / Interpreter architecture
« Reply #2 on: Jan 7th, 2016, 5:57pm »

on Jan 7th, 2016, 2:52pm, roy wrote:
I wonder if the links below would give you some ideas
http://laughton.com/basic/
http://mougino.free.fr/rfo-basic/

It's highly unlikely* that the BASIC you have linked to was programmed in SDL2, so whatever solutions it may have adopted are almost certainly available only to native Android applications (probably programmed in Java).

RFO BASIC is obviously an amazing product!!

Richard.

* Edit: Clearly it can't be, because it's about the size of BBC BASIC (using SDL2 results in a lot of bloat).
« Last Edit: Jan 7th, 2016, 6:39pm by Richard Russell » User IP Logged

Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

Donate $6.99 for 50,000 Ad-Free Pageviews!


This forum powered for FREE by Conforums ©
Sign up for your own Free Message Board today!
Terms of Service | Privacy Policy | Conforums Support | Parental Controls