Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Nov 29th, 2005, 7:48 AM   #51
SittingDuck
Programmer
 
SittingDuck's Avatar
 
Join Date: Nov 2005
Location: Moseley, Birmingham, England, Earth
Posts: 51
Rep Power: 3 SittingDuck is on a distinguished road
I've posted into another topic. Please go to my other thread.
SittingDuck is offline   Reply With Quote
Old Nov 30th, 2005, 9:59 AM   #52
mEo
Newbie
 
Join Date: Oct 2005
Posts: 5
Rep Power: 0 mEo is on a distinguished road
On a serious note,

If you want VB, I can help you out.

Search FreeVBCode.com for "D++", there's an "EXE Maker"

Have fun!
mEo is offline   Reply With Quote
Old Dec 2nd, 2005, 1:10 PM   #53
Kilo
Expert Programmer
 
Kilo's Avatar
 
Join Date: Nov 2005
Location: In Pink Clam?
Posts: 542
Rep Power: 0 Kilo is an unknown quantity at this point
Send a message via AIM to Kilo
i have seen that before, i cannot believe it was written with VB. Its sad.
__________________
"When in Rome, Do as the Romans Do"
"Beauty is in the eye of the BEER holder"
"Save your breath your going to need it for your blow up doll later"

SearchLores.org
Kilo is offline   Reply With Quote
Old Dec 4th, 2005, 5:09 AM   #54
SittingDuck
Programmer
 
SittingDuck's Avatar
 
Join Date: Nov 2005
Location: Moseley, Birmingham, England, Earth
Posts: 51
Rep Power: 3 SittingDuck is on a distinguished road
Compiler Theory Documentation

On this page are links to a series of PDF files, which form "compiler theory documentation" by P. D. Terry.
http://webster.cs.ucr.edu/AsmTools/RollYourOwn/

There's also a link to his website:
http://www.scifac.ru.ac.za/compilers/

They're very useful.
SittingDuck is offline   Reply With Quote
Old Dec 4th, 2005, 9:20 AM   #55
lectricpharaoh
Caffeinated Neural Net
 
lectricpharaoh's Avatar
 
Join Date: Jun 2005
Location: Dry west coast of Canada
Posts: 1,010
Rep Power: 5 lectricpharaoh will become famous soon enough
Quote:
Originally Posted by prog master
I call it Compiler-Compiler.
It's called gcc.
__________________
And once again, Probability proves itself willing to sneak into a back alley and service Drama as would a copper-piece harlot.
- Vaarsuvius, Order of the Stick
lectricpharaoh is offline   Reply With Quote
Old Dec 4th, 2005, 9:36 AM   #56
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
I called lectric's cat a goat, but despite my "right" to do so, I can't convince either him OR the cat.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Old Dec 4th, 2005, 4:34 PM   #57
lectricpharaoh
Caffeinated Neural Net
 
lectricpharaoh's Avatar
 
Join Date: Jun 2005
Location: Dry west coast of Canada
Posts: 1,010
Rep Power: 5 lectricpharaoh will become famous soon enough
Quote:
Originally Posted by DaWei
I called lectric's cat a goat
Hey, them's fightin' words, you old goat! :p
__________________
And once again, Probability proves itself willing to sneak into a back alley and service Drama as would a copper-piece harlot.
- Vaarsuvius, Order of the Stick
lectricpharaoh is offline   Reply With Quote
Old Dec 10th, 2005, 6:35 AM   #58
Klipt
Hobbyist Programmer
 
Join Date: Dec 2005
Posts: 118
Rep Power: 0 Klipt is an unknown quantity at this point
I remember wanting to write a compiler a few years ago. I didn't manage it, but after getting hold of this tutorial I did write a small interpreter and a calculator program which could read in a maths function, d/dx it and find a root.

That tutorial covers recursive descent parsing which is the easiest to write by hand (i.e. without Flex and Bison or Lexx and Yacc) and it even outputs assembly code, but it's assembly for some Motorola chip so don't expect it to work with an x86 assembler.
Klipt is offline   Reply With Quote
Old Dec 12th, 2005, 2:07 AM   #59
lectricpharaoh
Caffeinated Neural Net
 
lectricpharaoh's Avatar
 
Join Date: Jun 2005
Location: Dry west coast of Canada
Posts: 1,010
Rep Power: 5 lectricpharaoh will become famous soon enough
Quote:
Originally Posted by Klipt
I remember wanting to write a compiler a few years ago. I didn't manage it, but after getting hold of this tutorial I did write a small interpreter and a calculator program which could read in a maths function, d/dx it and find a root.

That tutorial covers recursive descent parsing which is the easiest to write by hand (i.e. without Flex and Bison or Lexx and Yacc) and it even outputs assembly code, but it's assembly for some Motorola chip so don't expect it to work with an x86 assembler.
Converting it might not be too extensive an undertaking, if the source is modular enough. It could be as simple as replacing strings in a lookup table, coupled with some other minor modifications (such as changing how segment/section directives are emitted).
__________________
And once again, Probability proves itself willing to sneak into a back alley and service Drama as would a copper-piece harlot.
- Vaarsuvius, Order of the Stick
lectricpharaoh is offline   Reply With Quote
Old Dec 17th, 2005, 3:16 AM   #60
coldfx
Newbie
 
coldfx's Avatar
 
Join Date: Dec 2005
Posts: 11
Rep Power: 0 coldfx is an unknown quantity at this point
Ha...ha...oh lord he's serious

Well first you need to learn ASM (Assembly Line) and usually learning that takes a good 3 years. That is what DOS and such was made on.


ASM is 1 and 0...Say hello to your 2 new friends. Also ASM is used to decide how fast a disk spins or how the harddrive reads and writes. It's down to hardware. And used for compilers. I recommend writing a program that ACTS like a compiler.

Ex: Say in C++ you add the commandRINT to act as cout >> " *text* ";
Then if someone typed Print then it would set cout >> "
And end with ";

Also add a small script to make sure cast sensitivity won't matter.
__________________
I know the meaning of life. Well I almost did but then my dictionary fell apart so I lost it =(
coldfx is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 12:31 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC