Can you create a programming language in PureBasic?

Everything else that doesn't fall into one of the other PB categories.
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

Yes, it's in PB (and for x86, Crenshaw compiled code to some other old processor).

You can now start looking:
http://pbtut.blogspot.com/

For some strange reason blogspot does not allow me to display the posts in reverse order, so I numbered the posts. Start from number 1 (duh!).
User avatar
Demivec
Addict
Addict
Posts: 4257
Joined: Mon Jul 25, 2005 3:51 pm
Location: Utah, USA

Post by Demivec »

Trond wrote:For some strange reason blogspot does not allow me to display the posts in reverse order, so I numbered the posts. Start from number 1 (duh!).
The blog posts are top-posted so that the most recent entry is read first.
User avatar
Kaeru Gaman
Addict
Addict
Posts: 4826
Joined: Sun Mar 19, 2006 1:57 pm
Location: Germany

Post by Kaeru Gaman »

I think this is perfectly normal for a bLog...
oh... and have a nice day.
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post by srod »

Very interesting Trond - nice and concise. I look forward to seeing more.

Thanks.
I may look like a mule, but I'm not a complete ass.
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

I added a new chapter on addition for those interested.
TheCorruptor
New User
New User
Posts: 9
Joined: Fri Aug 28, 2009 12:35 am
Location: PA>USA

Great !

Post by TheCorruptor »

Thanks Trond, very basic and simple. Great work. I am happy to see it can be done without using lexx and yacc and a million other tools that are written in C and all samples in C that I dont understand. Thanks !!
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

There is now code to both addition, subtraction, multiplication, division and modulo. The URL is still: http://pbtut.blogspot.com/
Teng
User
User
Posts: 21
Joined: Thu Aug 27, 2009 12:13 pm

Post by Teng »

Thanks again for the info (very easy to understand) and thanks in advance for any subsequent tutorial parts. Will save the whole tutorial (all parts) as a *.mht and burn it to a cd so I can keep it as a reference forever. :P
SFSxOI
Addict
Addict
Posts: 2970
Joined: Sat Dec 31, 2005 5:24 pm
Location: Where ya would never look.....

Post by SFSxOI »

http://pbtut.blogspot.com/ is blocked by the U.S. Government on government computer systems (i'm a government contractor so we use a government network - dont worry, they block most blogs). LoL :) so....I had to dig out my laptop and start up the wireless connection to view it. I'm going to go a little more indepth on it later, thanks for the link. :)
X
Enthusiast
Enthusiast
Posts: 311
Joined: Tue Apr 04, 2006 6:27 am

Post by X »

Gov worker here too :) We (workers) end up using ... http://www.bethebot.com/ ... that proxy isnt blocked here .. .yet :)
SFSxOI
Addict
Addict
Posts: 2970
Joined: Sat Dec 31, 2005 5:24 pm
Location: Where ya would never look.....

Post by SFSxOI »

They will soon, they aready blocked that here.
User avatar
talisman
Enthusiast
Enthusiast
Posts: 231
Joined: Sat May 23, 2009 9:33 am

Post by talisman »

Is www.proxy.org blocked by any chance? If not, I'm sure you'll find a working proxy from there in a few minutes if you really need to! (Source: experience :lol: )
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

I added code to deal with boolean and relational operators. It looks long, but it's mostly because of the redundant code listings.
User avatar
Joakim Christiansen
Addict
Addict
Posts: 2452
Joined: Wed Dec 22, 2004 4:12 pm
Location: Norway
Contact:

Post by Joakim Christiansen »

Trond wrote:I added code to deal with boolean and relational operators. It looks long, but it's mostly because of the redundant code listings.
Interesting stuff man!
How far will you take this? Make it support functions too? :D
I like logic, hence I dislike humans but love computers.
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

Functions are easy, they will be included.

Edit: There were a few errors in part 8 that have been fixed (a comment is under the blog post).
Post Reply