It is currently Fri May 24, 2013 9:34 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 62 posts ]  Go to page 1, 2, 3, 4, 5  Next
Author Message
 Post subject: Can you create a programming language in PureBasic?
PostPosted: Sun Sep 21, 2008 8:35 pm 
Offline
User
User

Joined: Sat Aug 30, 2008 3:21 pm
Posts: 50
Hey everyone,

I'm still studying PureBasic, and I saw a link to thinBasic somewhere from this forum. I then read that thinBasic was created in PowerBasic or something, so now it made me wonder, is it possible to create a programming language in PureBasic? Would be awesome :).

Of course, I will stick with PureBasic, but it's taking quite a long time to learn because in my opinion there is quite a lack of up-to-date learning resources such as tutorials etc, but never the less, I'm trying hard :). If you guys could give me some tips or links to a few good tutorials for beginners out there, that would be great :), thanks!

Thanks a lot everyone.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Sep 21, 2008 8:54 pm 
Offline
PureBasic Expert
PureBasic Expert
User avatar

Joined: Wed Oct 29, 2003 4:35 pm
Posts: 9870
Location: Beyond the pale...
There really is no limit to what you can do with Purebasic. I would think twice about using PB to create a new version of Windows, but apart from that, anything goes! :wink: Several people have written scripting languages with Purebasic.

As for tutorials, I find simply diving into code written by other people to be the best learning tool - but perhaps that is just me! Have a look at http://www.purearea.net/pb/english/index.htm. There is also blueznl's survival guide : http://www.purebasic.fr/english/viewtopic.php?t=19081
and then there is an introductory book on Purebasic by Kale which many have bought : http://www.pb-beginners.co.uk/

_________________
I may look like a mule, but I'm not a complete ass.

eScript
Arctic Reports
nxSoftware


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 22, 2008 12:12 am 
Offline
PureBasic Expert
PureBasic Expert
User avatar

Joined: Fri Apr 25, 2003 6:03 pm
Posts: 3002
Location: Lincoln, UK
srod wrote:
...and then there is an introductory book on Purebasic by Kale which many have bought : http://www.pb-beginners.co.uk/

Cheers. :)

_________________
--Kale

Image


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 22, 2008 12:58 am 
Offline
Addict
Addict
User avatar

Joined: Tue Jan 02, 2007 8:16 pm
Posts: 4328
Location: Cypress TX
@Kale: What are the current plans for updating to PB 4.3? :D

_________________
Binarily speaking... it takes 10 to Tango!!!

Image
http://www.bluemesapc.com/


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 22, 2008 2:50 am 
Offline
Enthusiast
Enthusiast

Joined: Tue Apr 04, 2006 6:27 am
Posts: 308
If anybody have created a programming language in PB, nobody have said anything about it :( I was curious many moons ago, but people have made only scripting languages (so far).

If you ended up making a language, please let the community know :)


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 22, 2008 4:57 am 
Offline
Addict
Addict
User avatar

Joined: Sat Jun 30, 2007 8:04 pm
Posts: 2704
Yes, Kale's book is excellent. However will need to be updated sometime after 4.30.

_________________
Image


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 22, 2008 5:39 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Fri Jun 30, 2006 4:30 pm
Posts: 567
Location: NDIA Project
Is PureBasic not self compiled?

_________________

[Registered PB User since 2006]
[PureBasic 4.51 Final] [Win 7 32bit]
[Intel Core 2 Duo 1.6 Ghz] [2GB DDR2] [8400]


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 22, 2008 7:11 am 
Offline
Always Here
Always Here
User avatar

Joined: Sat Aug 30, 2003 5:58 pm
Posts: 5892
Location: Denmark
JCV wrote:
Is PureBasic not self compiled?


nope, but the IDE and debugger etc is written in it :)


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 22, 2008 7:59 am 
Offline
Addict
Addict
User avatar

Joined: Tue Aug 19, 2003 11:36 am
Posts: 1113
Location: Doubs - France
X wrote:
If anybody have created a programming language in PB, nobody have said anything about it :( I was curious many moons ago, but people have made only scripting languages (so far).

If you ended up making a language, please let the community know :)


see here.

_________________
Please correct my english
http://purebasic.developpez.com/


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 22, 2008 2:28 pm 
Offline
Addict
Addict
User avatar

Joined: Sat Feb 19, 2005 5:05 pm
Posts: 1693
Location: Norway
X wrote:
If anybody have created a programming language in PB, nobody have said anything about it :( I was curious many moons ago, but people have made only scripting languages (so far).

If you ended up making a language, please let the community know :)


Heh! I think the issue is that few (if any) would be able to make a programming language in PureBasic that is better than PureBasic,
so what would be the point in making something that is worse when you can just use PureBasic? :P

_________________
Image website, journal, projects, reviews and more.
Normality exist in the minds of others, not mine! - Rescator


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 22, 2008 2:30 pm 
Offline
Addict
Addict
User avatar

Joined: Tue Jan 02, 2007 8:16 pm
Posts: 4328
Location: Cypress TX
I had always wondered about this topic. I saw the scripting language on the development site. Isn't creating a language that would incorperate PB functionality simply a way to steal PB?

You know... essentially creating a mirror of PB?

But then I think that the user will HAVE to create their own compiler and I realize that there would be a lot more work involved.

_________________
Binarily speaking... it takes 10 to Tango!!!

Image
http://www.bluemesapc.com/


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 22, 2008 2:58 pm 
Offline
PureBasic Expert
PureBasic Expert
User avatar

Joined: Wed Oct 29, 2003 4:35 pm
Posts: 9870
Location: Beyond the pale...
Purebasic does not a scripting engine make! :wink:

I will be in need of a good scripting engine very soon now and will write it in PB. This is not to say that I will be 'stealing PB's functionality' since if I could use PB as my scripting engine then I would do. PB itself is written in c (the compiler that is) but can in no way be described as stealing c! :)

_________________
I may look like a mule, but I'm not a complete ass.

eScript
Arctic Reports
nxSoftware


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 22, 2008 6:53 pm 
Offline
Addict
Addict
User avatar

Joined: Tue Jan 02, 2007 8:16 pm
Posts: 4328
Location: Cypress TX
What about D-Lib on prearea.net?

http://www.purearea.net/pb/english/index.htm

_________________
Binarily speaking... it takes 10 to Tango!!!

Image
http://www.bluemesapc.com/


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 22, 2008 6:54 pm 
Offline
Enthusiast
Enthusiast

Joined: Tue Apr 04, 2006 6:27 am
Posts: 308
Isnt that a scripting language? IE, its not truely compiled (binary 0...1s etc).


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 22, 2008 7:05 pm 
Offline
PureBasic Expert
PureBasic Expert
User avatar

Joined: Wed Oct 29, 2003 4:35 pm
Posts: 9870
Location: Beyond the pale...
Rook Zimbabwe wrote:
What about D-Lib on prearea.net?


I need certain customisations that D-Lib doesn't easily offer. Beside's, I always like writing my own tools - just for the challenge! :wink:

_________________
I may look like a mule, but I'm not a complete ass.

eScript
Arctic Reports
nxSoftware


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 62 posts ]  Go to page 1, 2, 3, 4, 5  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 2 guests


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

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye