Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 20 Oct 2018, 02:40
All times are UTC - 4
 Forum index » Off-Topic Area » Programming
Getting BASIC programs compiled in Puppy?
Post new topic   Reply to topic View previous topic :: View next topic
Page 3 of 3 [38 Posts]   Goto page: Previous 1, 2, 3
Author Message
musher0

Joined: 04 Jan 2009
Posts: 12826
Location: Gatineau (Qc), Canada

PostPosted: Wed 12 Sep 2018, 07:41    Post subject:  

@PuppyT: I take a relaxing foot bath every day! Laughing
_________________
musher0
~~~~~~~~~~
Fidèle elle commença, ainsi elle restera. (Prov. canadien) /
Faithful she began, so will she stay. (Canadian prov.)
Back to top
View user's profile Send private message 
Puppyt

Joined: 09 May 2008
Posts: 837
Location: Gatton, Queensland

PostPosted: Wed 12 Sep 2018, 20:45    Post subject:  

Well - so long as you don't expect a Basic foot massage here - your toe is always welcome Smile
_________________
Search engines for Puppy
http://puppylinux.us/psearch.html; Google Custom Search; others TBA...
Back to top
View user's profile Send private message Visit poster's website 
rockedge


Joined: 11 Apr 2012
Posts: 832
Location: Connecticut, United States

PostPosted: Sat 22 Sep 2018, 13:12    Post subject:  

I surprised myself and successfully compiled a BASIC program with FreeBasic
using Geany as the IDE...for some reason it all worked and made a binary that actually works...it doesn't do much but baby steps are called for here!

Just that I was able to use Geany and it's features with freebasic is a good start.
Back to top
View user's profile Send private message Visit poster's website 
Puppyt

Joined: 09 May 2008
Posts: 837
Location: Gatton, Queensland

PostPosted: Tue 25 Sep 2018, 22:16    Post subject:  

Thanks for the update rockedge - meant to respond earlier but got caught up with real-life issues. I was thinking that the Geany+FreeBASIC route is potentially the best for Puppy Linux, given FreeBASIC's QuickBASIC slant with a very similar syntax, and allows for features that are otherwise either impossible of hard to achieve in QB (32bit, high-res graphics modes). FreeBASIC apparently also works perfectly with FreeDOS having also compatibility with many DJGPP libraries - so ideal I guess for people with toes in many waters?
_________________
Search engines for Puppy
http://puppylinux.us/psearch.html; Google Custom Search; others TBA...
Back to top
View user's profile Send private message Visit poster's website 
ozsouth

Joined: 01 Jan 2010
Posts: 362
Location: S.E Australia

PostPosted: Tue 25 Sep 2018, 23:05    Post subject:  

I use Chipmunk Basic interpreter - minimal but interesting.
cbasic365.tar.gz
Description 
gz

 Download 
Filename  cbasic365.tar.gz 
Filesize  109.06 KB 
Downloaded  8 Time(s) 
Back to top
View user's profile Send private message 
Puppyt

Joined: 09 May 2008
Posts: 837
Location: Gatton, Queensland

PostPosted: Wed 26 Sep 2018, 20:50    Post subject:  

Hi ozsouth,
nice catch with Chipmunk Basic. I can only get the 'cbasic' executive working from within terminal despite making the file executable - but no biggie (Dpup Stretch 7.5 rc3). I was having trouble loading *.bas files, using the Chipmunk manual, but just now found that enclosing the filename in quotes as pictured below, does the deed nicely. Using Geany to correct typos from the "Werewolves and Wanderers" example text from earlier in this thread. Cheers Smile
chipmunkbas.png
 Description   
 Filesize   132.34 KB
 Viewed   63 Time(s)

chipmunkbas.png


_________________
Search engines for Puppy
http://puppylinux.us/psearch.html; Google Custom Search; others TBA...
Back to top
View user's profile Send private message Visit poster's website 
ozsouth

Joined: 01 Jan 2010
Posts: 362
Location: S.E Australia

PostPosted: Thu 27 Sep 2018, 04:03    Post subject:  

@Puppyt - I run (in a terminal, in folder where .bas file is):
cbasic progname.bas
Back to top
View user's profile Send private message 
puppy_apprentice


Joined: 07 Feb 2012
Posts: 194

PostPosted: Fri 05 Oct 2018, 15:25    Post subject:  

More BASIC interpreters from my own .pet archive (hope that will work on another Puppies).

These two are to big to store on forum:

bas-2.4.pet
http://s000.tinyupload.com/index.php?file_id=78867849587266674771

bwbasic-3.20.pet
http://s000.tinyupload.com/index.php?file_id=11975815007317291174

Bon Appetit!
cbmbasic-2.0.pet
Description 
pet

 Download 
Filename  cbmbasic-2.0.pet 
Filesize  43.12 KB 
Downloaded  2 Time(s) 
bas55-1.10.pet
Description 
pet

 Download 
Filename  bas55-1.10.pet 
Filesize  115.87 KB 
Downloaded  2 Time(s) 
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 3 of 3 [38 Posts]   Goto page: Previous 1, 2, 3
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Off-Topic Area » Programming
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0889s ][ Queries: 13 (0.0315s) ][ GZIP on ]