| View previous topic :: View next topic |
| Made a compiler |
| yes |
|
50% |
[ 2 ] |
| no |
|
50% |
[ 2 ] |
|
| Total Votes : 4 |
|
| Author |
Message |
floogle11

Joined: 02 May 2009 Posts: 69 Location: Zorgon planet
|
Posted: Thu Jun 17, 2010 11:46 am Post subject: Basic compiler |
|
|
| 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 |
|
 |
burger2227

Joined: 21 Aug 2006 Posts: 888 Location: Pittsburgh, PA
|
Posted: Thu Jun 17, 2010 12:49 pm Post subject: |
|
|
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 |
|
 |
angros47
Joined: 08 Sep 2008 Posts: 58
|
|
| Back to top |
|
 |
floogle11

Joined: 02 May 2009 Posts: 69 Location: Zorgon planet
|
Posted: Thu Jun 17, 2010 2:28 pm Post subject: |
|
|
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 |
|
 |
bongomeno

Joined: 10 Dec 2008 Posts: 192 Location: EVERYWHERE!!!
|
Posted: Thu Jun 17, 2010 8:58 pm Post subject: |
|
|
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 |
|
 |
burger2227

Joined: 21 Aug 2006 Posts: 888 Location: Pittsburgh, PA
|
|
| Back to top |
|
 |
bongomeno

Joined: 10 Dec 2008 Posts: 192 Location: EVERYWHERE!!!
|
|
| Back to top |
|
 |
|