DaemonForums  

Go Back   DaemonForums > Miscellaneous > Programming

Programming C, bash, Python, Perl, PHP, Java, you name it.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 20th February 2017
frcc frcc is offline
Don't Worry Be Happy!
 
Join Date: Jul 2011
Location: hot,dry,dusty,rainy,windy,straight winds, tornado,puts the fear of God in you-Texas
Posts: 335
Default Basic Programming under OpenBSD?

The "thread" does include "you name it"

Yes I know Basic - "Beginners all purpose programming language" is "NOT" a real
programming language.
It should not be mentioned in the same sentence with giants like C, java, pearl,
python, php, and almost all others.

Really, with the goto's, lack of cross platform compatibility,
lack of powerful modern features festering poor programming habits, etc etc etc.
Why would anyone?????

Well, "I use it" for personal reasons and find it quick and easy.

So,

Has anyone been able to get X11basic or FreeBasic compiler/interpreter
to work on OpenBSD?

links: ????
Reply With Quote
  #2   (View Single Post)  
Old 22nd February 2017
gpatrick gpatrick is offline
Spam Deminer
 
Join Date: Nov 2009
Posts: 245
Default

Quote:
is "NOT" a real programming language.
That is not true. There has been commercial software for general ledgers, payroll, accounts receivable, utilities industry, beverage industry, shipping, you name it and it probably has been programmed in BASIC.

I also wouldn't categorize it as "dead" as a lot of people like to say, because that would mean it doesn't have any life. Just because it is the in vogue language today like Javascript, Python, Java, doesn't qualify it as not relevant. As long as one person still uses BASIC, then it has life and a purpose, and it is relevant to you.

The operating systems I still use today are OS/2 and Plan 9, and I still use REXX as language. Others consider them dead, but they are useful to me.
Reply With Quote
  #3   (View Single Post)  
Old 22nd February 2017
frcc frcc is offline
Don't Worry Be Happy!
 
Join Date: Jul 2011
Location: hot,dry,dusty,rainy,windy,straight winds, tornado,puts the fear of God in you-Texas
Posts: 335
Default basic

You misread the post !
I am a serious Basic programmer, with respect for the language..
But, most professional programmers knock the language with language
(no-pun intended) as i used in the first few lines of the post.

################################################## #####################
The post was asking if anyone has installed X11Basic or Freebasic compiler / interpreter
on OpenBSD and maybe supply a link.or any info they may have.
################################################## #####################

It was not intended to "Troll" .or. start a programmers range war, even though.
it might be capable.

Last edited by frcc; 23rd February 2017 at 12:14 PM. Reason: spell
Reply With Quote
  #4   (View Single Post)  
Old 22nd February 2017
jggimi's Avatar
jggimi jggimi is online now
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,977
Default

I'm not aware of any BASIC ports/packages. But I discovered lang/bacon while looking into it. This port is relatively new, and available for -current users.

http://www.basic-converter.org/
Reply With Quote
  #5   (View Single Post)  
Old 21st April 2017
PapaParrot's Avatar
PapaParrot PapaParrot is offline
parrot
 
Join Date: Jul 2015
Location: Durango, Mx.
Posts: 472
Default

This "basic-conerter" jggimi posted looks interesting, thanks,
I think I will be giving it a try,....

I did some other searches, but didn't find anything else specifically for OpenBsd,

I never did much with "FreeBasic", partly due to the fact that I never liked , nor used MSwindows,
and ended up using "qbasic" on FreeDos, which is what I still use, (not very much, but occasionally).
I do keep a partition dedicated to FreeDos, and my qbasic , dos games etc. But any way,
I dis some search just now, and found this:
https://www.thefreecountry.com/compilers/basic.shtml
In particular this:
Quote:
Mole BASIC Interpreter (Linux, AIX, Sun, BSD)

Mole Basic, or Merty's Own Language Extension Basic, runs on Linux, AIX, Sun and BSD and comes in (C?) source code form which you can modify to extend the language. Binaries for Linux is also provided.
"BSD" is a pretty broad term, but since it is open source, and if one is advanced enough, they might
be able to get it to work on OpenBsd,....I am not that advanced, myself, maybe some day, but as old as I am getting I have my doubts.
I never was what I would call a "serious qbasic prgrammer", but just a hobby,... to me the most fund is/was making up my own games, rather the playing the ones I got bored with over and over.
Games get boring, but trying to make up a new one never does.
---edited----
Here, they say there is a version for FreeBsd,...
https://en.wikipedia.org/wiki/FreeBASIC
Quote:
FreeBASIC is a multiplatform, free/open source (GPL) BASIC compiler[2] for Microsoft Windows, protected-mode MS-DOS (DOS extender), Linux, FreeBSD and Xbox. The Xbox version is no longer maintained.[3]
]
I have not tried it, and actually am pretty new to OpenBsd, and have not tried FreeBsd, so don't know how hard it would be to port it to OpenBsd , kind of interesting though,
__________________
My best friends are parrots

Last edited by PapaParrot; 21st April 2017 at 03:12 AM. Reason: Found another link
Reply With Quote
  #6   (View Single Post)  
Old 24th April 2017
frcc frcc is offline
Don't Worry Be Happy!
 
Join Date: Jul 2011
Location: hot,dry,dusty,rainy,windy,straight winds, tornado,puts the fear of God in you-Texas
Posts: 335
Default

I should amend the above post from "serious basic programmer" to "hobbyist basic programmer" as it is more accurate..

.and
the older i get the less of a "hobbyist programmer" i become
Reply With Quote
  #7   (View Single Post)  
Old 24th June 2017
frcc frcc is offline
Don't Worry Be Happy!
 
Join Date: Jul 2011
Location: hot,dry,dusty,rainy,windy,straight winds, tornado,puts the fear of God in you-Texas
Posts: 335
Default

-Update--

Well for those who are interested !!!!!

FreeBASIC plays real well on most linux distros. Currently tested, installed, and compiling on Linux
Mint 64 bit version. All seems to be working well. I can now run my old programs, write new ones
and compile away while working on a modern platform.

FreeBasic is not in Mint's or any other Linux distros packages that i know of, But can be downloaded
from their site or sites/installed according to their download directions.

Geany (programmers editor) has an option for FreeBASIC code that implements a nice IDE
which can directly compile and execute my FreeBASIC Programs from within the editor....................

Reply With Quote
  #8   (View Single Post)  
Old 29th June 2017
hermano hermano is offline
Port Guard
 
Join Date: Mar 2017
Posts: 18
Default

Hmm, I have to confess that I have use FreeBASIC for a program or two in the distant past and it worked fine. I like an interpreted language when I have to 'figure something out' and know that something won't work right the first time and would need experimenting and the BASIC syntax is rather more human friendly than for example Perl.
Reply With Quote
  #9   (View Single Post)  
Old 30th June 2017
ibara ibara is offline
OpenBSD language porter
 
Join Date: Jan 2014
Posts: 783
Default

I have FreeBASIC running on my OpenBSD/amd64 laptop. I'll probably submit a port shortly.
Reply With Quote
Old 30th June 2017
frcc frcc is offline
Don't Worry Be Happy!
 
Join Date: Jul 2011
Location: hot,dry,dusty,rainy,windy,straight winds, tornado,puts the fear of God in you-Texas
Posts: 335
Default

nice
Reply With Quote
Old 23rd October 2017
ibara ibara is offline
OpenBSD language porter
 
Join Date: Jan 2014
Posts: 783
Default

Necroposting here to say that I submitted a FreeBASIC port: https://marc.info/?l=openbsd-ports&m...3079920421&w=2
Reply With Quote
Old 23rd October 2017
frcc frcc is offline
Don't Worry Be Happy!
 
Join Date: Jul 2011
Location: hot,dry,dusty,rainy,windy,straight winds, tornado,puts the fear of God in you-Texas
Posts: 335
Default

nice again

Last edited by frcc; 23rd October 2017 at 12:42 PM. Reason: improve response
Reply With Quote
Old 23rd October 2017
ibara ibara is offline
OpenBSD language porter
 
Join Date: Jan 2014
Posts: 783
Default

And committed! You can now
Code:
# pkg_add freebasic
http://cvsweb.openbsd.org/cgi-bin/cv...ang/freebasic/
Reply With Quote
Old 26th October 2017
demifiend's Avatar
demifiend demifiend is offline
Real Name: Matthew Graybosch
Silent Protagonist
 
Join Date: Oct 2017
Location: Harrisburg, PA
Posts: 29
Default

Quote:
Originally Posted by ibara View Post
And committed! You can now
Code:
# pkg_add freebasic
http://cvsweb.openbsd.org/cgi-bin/cv...ang/freebasic/
Good work. I used to do Visual Basic coding for a living, so I'm tempted to install this and tinker with it.
__________________
OpenBSD 6.2-RELEASE on Thinkpad T430s, ThinkCentre M92P, and Clevo W24AEU
Web | Keybase | Mastodon | GitHub
"What happens in the TARDIS stays in the TARDIS."
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
GPU Programming on OpenBSD? notooth OpenBSD General 4 15th November 2015 10:43 PM
OpenBSD Installer / Install Script Basic Questions daemonbak OpenBSD Installation and Upgrading 9 28th May 2015 01:56 AM
Tmux basic fcns not working; Dell Inspiron, OpenBSD 5.4 spacebar_permissions OpenBSD General 5 24th November 2013 02:52 AM
OpenBSD how to start (basic setup) wesley Guides 4 18th July 2012 06:29 PM
openbsd basic questions barti OpenBSD General 12 17th July 2012 08:38 PM


All times are GMT. The time now is 03:21 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick