Quick Search for:  in language:    
   Code/Articles ╗ |  Newest/Best ╗ |  Community ╗ |  Jobs ╗ |  Other ╗ |  Goto ╗ | 
CategoriesSearch Newest CodeCoding ContestCode of the DayAsk A ProJobsUpload
Delphi Stats

 Code: 209,911. lines
 Jobs: 14. postings

 How to support the site

Sponsored by:

You are in:

Does your code think in ink?

Latest Code Ticker for Delphi.
Record From Microphone to Wave File
By Una-Rat on 11/25

List Manager
By james hill on 11/17

Click here to see a screenshot of this code!Skin app
By Jonathan Curry on 11/15

(Screen Shot)

Click here to put this ticker on your site!

Add this ticker to your desktop!

Daily Code Email
To join the 'Code of the Day' Mailing List click here!

Affiliate Sites


How To Create A True Programming Language Version 2


Submitted on: 11/4/2001 9:43:59 PM
By: Tanner Ezell (aka Lord Nova Ice)  
Level: Intermediate
User Rating: By 6 Users
Compatibility:Delphi 5

Users have accessed this article 5092 times.
(About the author)
     Source code to SrcTrans v1.65; Download to SrcTrans v2.0 Final; example TFF and InputFile

Terms of Agreement:   
By using this article, you agree to the following terms...   
1) You may use this article in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.   
2) You MAY NOT redistribute this article (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
3) You may link to this article from another website, but ONLY if it is not wrapped in a frame. 
4) You will abide by any additional copyright restrictions which the author may have placed in the article or article's description.

How To Make A True Programming Language; Version 2

In version 1, i told you the concepts on how to make a true programming language. In this version, version 2, I will tell you how to use a special new version of my SrcTrans, The Source Code Translator to make a language. I will also give you the source to version 1.65;

Download SrcTrans v1.65 Sources
Download SrcTrans v2.0 Final

Download SrcTrans v1.65 Sources
Download SrcTrans v2.0 Final

Simple TransFormatFile:

program(001): program arg00 ;
var(001): var arg00 ;
body(000): begin ;
output(001): writeln(arg0) ;
endprog(000): end.;
setvar(002): arg0 := arg1 ;

Simple InputFile:

program HelloWorld.SBL
var Str
setvar Str,Hello World
output Str

this translates to:

program HelloWorld.SBL
Str := Hello World
anyway, thats just an example, have fun with it

v2.0 has a a few built in functions, but all you need todo in a dos prompt for v2.0 is type:
SrcTrans /?
and will give you information of the entire program.

Well i know its not much here, but its a lot in the long run. Please vote if you like this

Other 3 submission(s) by this author


Report Bad Submission
Use this form to notify us if this entry should be deleted (i.e contains no code, is a virus, etc.).
Your Vote!

What do you think of this article(in the Intermediate category)?
(The article with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor See Voting Log
Other User Comments
11/4/2001 9:51:11 PM:Lord Nova Ice
If you notice a bug, please tell me. ill try to fix it asap
Keep the Planet clean! If this comment was disrespectful, please report it:

11/6/2001 6:33:29 PM:Lord Nova Ice
IMPORTANT! Ive deleted my old domain misticsoft.net, the new domain will be basex-ngsc.com; please allow a day or two to get it together
Keep the Planet clean! If this comment was disrespectful, please report it:

12/28/2001 2:32:11 PM:Andrew Carter
Congratulation, you are the contest winner.
Keep the Planet clean! If this comment was disrespectful, please report it:

7/21/2002 1:55:02 AM:Ivin
Links are dead. Please fix!
Keep the Planet clean! If this comment was disrespectful, please report it:

7/31/2002 10:41:11 AM:boylizard
Your links are broken.
Keep the Planet clean! If this comment was disrespectful, please report it:

Add Your Feedback!
Note:Not only will your feedback be posted, but an email will be sent to the code's author in your name.

NOTICE: The author of this article has been kind enough to share it with you.  If you have a criticism, please state it politely or it will be deleted.

For feedback not related to this particular article, please click here.


Categories | Articles and Tutorials | Advanced Search | Recommended Reading | Upload | Newest Code | Code of the Month | Code of the Day | All Time Hall of Fame | Coding Contest | Search for a job | Post a Job | Ask a Pro Discussion Forum | Live Chat | Feedback | Customize | Delphi Home | Site Home | Other Sites | About the Site | Feedback | Link to the Site | Awards | Advertising | Privacy

Copyrightę 1997 by Exhedra Solutions, Inc. All Rights Reserved.  By using this site you agree to its Terms and Conditions.  Planet Source Code (tm) and the phrase "Dream It. Code It" (tm) are trademarks of Exhedra Solutions, Inc.