Pete's QBASIC Site Forum Index Pete's QBASIC Site
Return to Pete''s QBasic Site
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Basic compiler

 
Post new topic   Reply to topic    Pete's QBASIC Site Forum Index -> QBASIC Questions & Answers
View previous topic :: View next topic  

Made a compiler
yes
50%
 50%  [ 2 ]
no
50%
 50%  [ 2 ]
Total Votes : 4

Author Message
floogle11



Joined: 02 May 2009
Posts: 69
Location: Zorgon planet

PostPosted: Thu Jun 17, 2010 11:46 am    Post subject: Basic compiler Reply with quote

Hey im still a nooby at programming after a year(I learn slow and i was not programming for 6 months) and i want to make a really basic compiler. So i want to write my code inside the program and then run it in there too. But i have no idea how to do that execpt to convert my language to Qbasic but still dont know how to do that. Can one of you help.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
burger2227



Joined: 21 Aug 2006
Posts: 888
Location: Pittsburgh, PA

PostPosted: Thu Jun 17, 2010 12:49 pm    Post subject: Reply with quote

That's too much work for the teacher! It is not unusual for a "newbie" to want to conquer the world, but they gotta learn the basics first!

Some people are slower than others. Take your time and enjoy the programming experience. Once programming becomes a CHORE, you may lose interest and never learn anything.

I think you already have over extended yourself. What have you learned by creating your own language? Better yet WHY did you start there?

Try making something useful to you or other programmers. Don't overwhelm yourself! Read some old posts and perhaps you can find something interesting.
_________________
Please acknowledge that you have read an answer!
QB64 is a FREE QBasic compiler for 32/64 bit WIN and LINUX PC's! : http://www.qb64.net/forum/
Get my Q-Basics demonstrator here (fast download): http://dl.dropbox.com/u/8440706/Q-Basics.zip
Back to top
View user's profile Send private message Send e-mail
angros47



Joined: 08 Sep 2008
Posts: 58

PostPosted: Thu Jun 17, 2010 1:21 pm    Post subject: Reply with quote

http://www.petesqbsite.com/sections/tutorials/zines/qbcm/4-compiler.html

Can this help you?
Back to top
View user's profile Send private message Visit poster's website
floogle11



Joined: 02 May 2009
Posts: 69
Location: Zorgon planet

PostPosted: Thu Jun 17, 2010 2:28 pm    Post subject: Reply with quote

I started out making text games got bored of that so then i made little programms to help me convert things like fps to mph or mph to fps. Then i worked on graphics for a while but now i want to learn a little more complex things.

And thanks for the tutorial ill read it and get goin on this
_________________
Go to my Qbsite its: Trueqb.webs.com
Or if you play nazi zombies go to www.Nazizombys.com and register for cheats, hints, and strategys.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
bongomeno



Joined: 10 Dec 2008
Posts: 192
Location: EVERYWHERE!!!

PostPosted: Thu Jun 17, 2010 8:58 pm    Post subject: Reply with quote

I can probably help.

1st, I would recommend writing an interpreter first. compilers are VERY hard to make.

2nd, I have written a few simple interpreters and could probably help you. PM me as you go along or go on my site and Ill answer any questions.

The best interpreter I have created is PROSEED. The current release is fairly simple, but I rewrote it to where you can create GUI forms and windows for msdos. Im also rewriting the parser and all that. So I have SOME experience.

When I first started, I really wanted to make my own language as well. It took me a LONG time to figure out because I had nobody helping me and no internet, but I was really happy when I got some stuff working. And for me, programming is hardly a chore at this point (it can be when I am writing software for somebody else and am getting paid!). I like a good challenge and I think with writing a language, there is a lot to learn about programming and how everything works.
_________________
My website: www.geekbasic.com
Like the Atari 2600? Like Mario? Then check this out: http://www.atariage.com/forums/topic/148715-demo-super-mario-bros-2600/
Back to top
View user's profile Send private message Send e-mail Visit poster's website
burger2227



Joined: 21 Aug 2006
Posts: 888
Location: Pittsburgh, PA

PostPosted: Thu Jun 17, 2010 10:21 pm    Post subject: Reply with quote

You get paid? WOW LOL!
_________________
Please acknowledge that you have read an answer!
QB64 is a FREE QBasic compiler for 32/64 bit WIN and LINUX PC's! : http://www.qb64.net/forum/
Get my Q-Basics demonstrator here (fast download): http://dl.dropbox.com/u/8440706/Q-Basics.zip
Back to top
View user's profile Send private message Send e-mail
bongomeno



Joined: 10 Dec 2008
Posts: 192
Location: EVERYWHERE!!!

PostPosted: Fri Jun 18, 2010 12:43 am    Post subject: Reply with quote

I appreciate your support. At least I dont sit on my ass smoking weed all day like all of my friends...

Most of what you see me do here is more of a hobby.
_________________
My website: www.geekbasic.com
Like the Atari 2600? Like Mario? Then check this out: http://www.atariage.com/forums/topic/148715-demo-super-mario-bros-2600/
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Pete's QBASIC Site Forum Index -> QBASIC Questions & Answers All times are GMT - 5 Hours
Page 1 of 1

 
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


Powered by phpBB © 2001, 2002 phpBB Group
Protected by Anti-Spam ACP