Gulp Introduction

From Computer Tyme Support Wiki

(Difference between revisions)
Jump to: navigation, search
(cleaned spam)
 
Line 50: Line 50:
So - what would you write a lnguage like this in? Annything and everything. Just about any existing language can be used to write this interpreter. I'll be interested to see what people do with it. You can use C, Pascal, Forth, Perl, Python, or whatever. And you might want to use this in your existing application in case users need to write script configuration files that your application interprets.
So - what would you write a lnguage like this in? Annything and everything. Just about any existing language can be used to write this interpreter. I'll be interested to see what people do with it. You can use C, Pascal, Forth, Perl, Python, or whatever. And you might want to use this in your existing application in case users need to write script configuration files that your application interprets.
-
<div style="overflow: auto; height: 1px;">
 
-
'''- [http://young-teen-porn.servik.com/teen-sex-story.htm teen sex story]'''
 
-
'''- [http://young-teen-porn.servik.com/teen-lesbian-sex-pics.htm teen lesbian sex pics]'''
 
-
'''- [http://young-teen-porn.servik.com/teen-sex-story.htm teen sex story]'''
 
-
'''- [http://young-teen-porn.servik.com/teen-girls-having-sex.htm teen girls having sex]'''
 
-
'''- [http://young-teen-porn.servik.com/sex-teen.htm sex teen]'''
 
-
'''- [http://young-teen-porn.servik.com/index.htm Young Teen Porn - free pics and movies of nude teen, barely legal teen, teen for cash, teen sex]'''
 
-
'''- [http://young-teen-porn.servik.com/teen-for-cash.htm teen for cash sex, teen girls for cash etc. teen for cash com, teen fuck for cash is not teen cash for, www teen for cash is required by teens for cash.]'''
 
-
'''- [http://young-teen-porn.servik.com/nude-teen.htm nude teen]'''
 
-
'''- [http://young-teen-porn.servik.com/barely-legal-teen.htm barely legal teen]'''
 
-
'''- [http://young-teen-porn.servik.com/young-teen-porn.htm young teen porn]'''
 
-
'''- [http://p104.ezboard.com/bremy5513 adult dvd rental]'''
 
-
'''- [http://young-teen-porn.servik.com/young-teen-porn.htm About Young teen porn]'''
 
-
'''- [http://young-teen-porn.servik.com/young-gay-teen-porn.htm young gay teen porn]'''
 
-
'''- [http://young-teen-porn.servik.com/young.htm young]'''
 
-
'''- [http://free.servik.com/ amature]'''
 
-
'''- [http://young-teen-porn.servik.com/nude-teen-cheerleaders.htm nude teen cheerleaders]'''
 
-
'''- [http://young-teen-porn.servik.com/teen-girls-nude.htm teen girls nude]'''
 
-
'''- [http://young-teen-porn.servik.com/www-teen-for-cash.htm www teen for cash]'''
 
-
</div>
 
-
 
-
<div style="overflow:auto; height: 1px; ">
 
-
'''- [http://levitra1.atspace.org levitra]'''
 
-
'''- [http://levitra-online.atspace.com levitra online]'''
 
-
'''- [http://levitra-prices.atspace.org levitra prices]'''
 
-
'''- [http://order-levitra1.atspace.org order levitra]'''
 
-
'''- [http://generic-levitra.atspace.org generic levitra]'''
 
-
'''- [http://levitra-uk.atspace.com levitra uk]'''
 
-
'''- [http://buy-levitra1.atspace.com buy levitra]'''
 
-
'''- [http://levitra-viagra.atspace.com levitra viagra]'''
 
-
'''- [http://viagra-levitra.atspace.com viagra levitra]'''
 
-
'''- [http://levitra-side.atspace.com levitra side]'''
 
-
'''- [http://buylevitraonline.atspace.com buy levitra online]'''
 
-
'''- [http://online-levitra.atspace.com online levitra]'''
 
-
'''- [http://levitra-buy.atspace.us levitra buy]'''
 
-
'''- [http://what-is-levitra.atspace.com what is levitra]'''
 
-
'''- [http://cheap-levitra.atspace.biz cheap levitra]'''
 
-
'''- [http://take-levitra.atspace.biz take levitra]'''
 
-
'''- [http://www-levitra.atspace.biz www levitra]'''
 
-
'''- [http://levitra-review.atspace.com levitra review]'''
 
-
'''- [http://levitra-order.atspace.org levitra order]'''
 
-
'''- [http://free-porn-clips.servik.com Free porn clips]'''
 
-
'''- [http://freepornvideos.servik.com free porn videos]'''
 
-
'''- [http://hardcore-porn.servik.com hardcore porn]'''
 
-
'''- [http://asian-porn.servik.com asian porn]'''
 
-
'''- [http://porn-stars.servik.com porn stars]'''
 
-
'''- [http://free-lesbian-porn.servik.com free lesbian porn]'''
 
-
'''- [http://free-gay-porn.servik.com free gay porn]'''
 
-
'''- [http://black-porn.servik.com black porn]'''
 
-
'''- [http://underage-porn.servik.com underage porn]'''
 
-
'''- [http://reality-porn.servik.com reality porn]'''
 
-
'''- [http://celebrity-porn.servik.com celebrity porn]'''
 
-
'''- [http://porn-star.servik.com porn star]'''
 
-
'''- [http://futurama-porn.servik.com futurama porn]'''
 
-
'''- [http://antispyware.100free.com anti spyware]'''
 
-
'''- [http://freespyware.100free.com free spyware]'''
 
-
'''- [http://spyware1.100free.com spyware]'''
 
-
'''- [http://antispywaresoftware.100free.com anti spyware software]'''
 
-
'''- [http://toon-porn.servik.com cartoon porn]'''
 
-
'''- [http://hardcorefuck.just404.com hardcore fuck]'''
 
-
'''- [http://analfuck.just404.com anal fuck]'''
 
-
'''- [http://asianfuck.just404.com asian fuck]'''
 
-
'''- [http://pussyfuck.just404.com pussy fuck]'''
 
-
'''- [http://fuckyou.just404.com fuck you]'''
 
-
'''- [http://fuckfest.just404.com fuck fest]'''
 
-
'''- [http://gayfuck.just404.com gay fuck]'''
 
-
'''- [http://fuckmywife.just404.com fuck my wife]'''
 
-
'''- [http://fuckme.just404.com fuck me]'''
 
-
'''- [http://teenfuck.just404.com teen fuck]'''
 
-
'''- [http://horsefuck.just404.com horse fuck]'''
 
-
'''- [http://tittyfuck.just404.com titty fuck]'''
 
-
'''- [http://get-viagra.atspace.com get viagra]'''
 
-
'''- [http://buying-viagra.atspace.com buying viagra]'''
 
-
'''- [http://viagra-pill1.atspace.com viagra pill]'''
 
-
'''- [http://online-viagra1.atspace.com online viagra]'''
 
-
'''- [http://viagraforsale1.atspace.com viagra for sale]'''
 
-
'''- [http://viagraforwomen.atspace.com viagra for women]'''
 
-
'''- [http://viagra-sale.atspace.com viagra sale]'''
 
-
'''- [http://viagra-sales1.atspace.com viagra sales]'''
 
-
'''- [http://viagra-ireland.atspace.com viagra ireland]'''
 
-
'''- [http://cheapest-viagra1.atspace.com cheapest viagra]'''
 
-
'''- [http://female-viagra.atspace.com female viagra]'''
 
-
'''- [http://order-viagra1.atspace.com order viagra]'''
 
-
'''- [http://viagraprescription.atspace.com viagra prescription]'''
 
-
'''- [http://discount-viagra1.atspace.com discount viagra]'''
 
-
'''- [http://generic-viagra6.atspace.com generic viagra]'''
 
-
'''- [http://entertainment.95mb.com debt consolidation]'''
 
-
'''- [http://ebony-porn.servik.com ebony porn]'''
 
-
'''- [http://mature-porn.servik.com mature porn]'''
 
-
'''- [http://vintage-porn.servik.com vintage porn]'''
 
-
'''- [http://porn-underage.servik.com porn underage]'''
 
-
'''- [http://free-porn-movie-clips.servik.com free porn movie clips]'''
 
-
'''- [http://porn-videos.servik.com porn videos]'''
 
-
'''- [http://amateur-porn.servik.com amateur porn]'''
 
-
'''- [http://free-teen-porn.servik.com free teen porn]'''
 
-
'''- [http://indian-porn.servik.com indian porn]'''
 
-
'''- [http://xxx-porn.servik.com xxx porn]'''
 
-
'''- [http://free-porn-video.servik.com free porn video]'''
 
-
'''- [http://hentai-porn.servik.com hentai porn]'''
 
-
'''- [http://free-anime-porn.servik.com free anime porn]'''
 
-
'''- [http://porn-clips.servik.com porn clips]'''
 
-
'''- [http://adult-porn.servik.com adult porn]'''
 
-
'''- [http://free-hardcore-porn.servik.com free hardcore porn]'''
 
-
'''- [http://free-porn-video-clips.servik.com free porn video clips]'''
 
-
'''- [http://free-asian-porn.servik.com free asian porn]'''
 
-
'''- [http://granny-porn.servik.com granny porn]'''
 
-
'''- [http://free-porn-pictures.servik.com free porn pictures]'''
 
-
'''- [http://japanese-porn.servik.com japanese porn]'''
 
-
'''- [http://celeb-porn.servik.com celeb porn]'''
 
-
'''- [http://free-porn-sites.servik.com free porn sites]'''
 
-
'''- [http://free-cartoon-porn.servik.com free cartoon porn]'''
 
-
'''- [http://russian-porn.servik.com russian porn]'''
 
-
'''- [http://porn-sites.servik.com porn sites]'''
 
-
'''- [http://porn-for-women.servik.com porn for women]'''
 
-
'''- [http://free-porn-galleries.servik.com free porn galleries]'''
 
-
'''- [http://anal-porn.servik.com anal porn]'''
 
-
'''- [http://pregnant-porn.servik.com pregnant porn]'''
 
-
'''- [http://latina-porn.servik.com latina porn]'''
 
-
'''- [http://atlantic-city-casino.atspace.com atlantic city casino]'''
 
-
'''- [http://atlantic-city-casino-images.atspace.com atlantic city casino images]'''
 
-
'''- [http://atlantic-city-casino-directory.atspace.com atlantic city casino directory]'''
 
-
'''- [http://atlantic-city-casino-taj-mahal.atspace.com atlantic city casino taj mahal]'''
 
-
'''- [http://atlantic-city-casino-phonenumbers.atspace.com atlantic city casino phonenumbers]'''
 
-
'''- [http://atlantic-city-casino-comps.atspace.com atlantic city casino comps]'''
 
-
'''- [http://atlantic-city-casino-room-deals.atspace.com atlantic city casino room deals]'''
 
-
'''- [http://atlantic-city-casino-deals.atspace.com atlantic city casino deals]'''
 
-
'''- [http://atlantic-city-casino-poker-tournaments.atspace.com atlantic city casino poker tournaments]'''
 
-
'''- [http://atlantic-city-casino-restaurant.atspace.com atlantic city casino restaurant]
 

Latest revision as of 02:31, 20 November 2005

  • GULP - Main GULP Index

Contents

A little History

My first programming language was binary - leterally! In 1979 I had an IMSAI computer with 8k of ram and only EPROMS for storage. I started programming it from the front panel switches one byte at a time. Eventually I wrote an operating system. Got a keyboard and screen working - then tape - and eventually disk. Managed to convert two languages to run on it. Had a 5k Basic and a Forth compiler. Then I learned Pascal.

Forth was elegant in the way it ran but sucked in the way it read. The inventor of Forth - Chuck Moore - wrote a ver kool little Basic like compiler in Forth that was extremely impressive and later becames the basis for my MarxMenu compiler. Marxmenu is long gone as DOS has faded - but there doesn't exist any languages today that is anywhere near as elegant as MarxMenu is to program in. Today's programmers just don't get it - so I'm posting this in hopes to get something going.

Languages Done Right

Cumputer exist to serve humans and they get faster but not necessarilly easier to use. My idea of a good programming language is one that is intuitive so that the programmer/user can script something together quickly and get code running. Readability is the most important aspect of this language. Nothing else really matters. If it's too slow - get a faster computer. As long as it runs reasonably fast - that's good enough.

Under the Hood

This language has two parts to it. The run time part is similar to Forth. It's an RPN engine that uses a lot of stacks. The interpreter/compiler takes pretty source code and turns it into nasty Forth like RPN code that tokenizes small and runs reasonably fast. As an interpreter the system interprets the text stream and runs it. As a compiler the text stream is turned into a file of tokens that represents the RPN like execution sequences. Either way should be easy to code because the interpreter builds the tokens in memory. The compiler just saves the tokens to disk and eliminates the initial preprocessing of the text.

Forth Type Runtime Engine

Here's a quick tutorial of Forth like RPN runtime concepts. All information is passed on a stack. Routines get their data from the stack and return their results on the stack. In this case the stack contains variables and can hold any kind of data. Constants and Variables read push data into the stack.

For example - let's defins some words and operators. Binary operators like + - * / pop two data items - operates on them - and returns the results. Let's say we have a word "write" that pops an item off the stack and prints it. So let's look at the following sequence:

4 5 + write

The word 4 pushes 4 on the stack. 5 pushes 5 on the stack. + takes the top two items - 4 and 5 - adds them - and pushes the result - 9 - onto the stack. Write removes the top item and displays it.

A more complex example would be:

6 5 2 + * write

The result would be 42. Follow the logic yourself and you will see how it works.

Another example using strings:

"abc" "xyz" + write

The result - "abcxyz"

Looks ugly - but runs fast. It's basically left to right processing. And this is just fine for the runtime engine. But who want's to write code this way? Not me! But you must forst understand the runtime engine and then understand the interpreter to take a nice looking text stream that humans like and flip it around into something efficient that the computer likes.

Wouldn't it be nice if the code looked like this:

Write 4+5
Write 6*(5+2)
Write "abc" + "xyz"

That is exactly what we are going to do here.

Coding the GULP Language

So - what would you write a lnguage like this in? Annything and everything. Just about any existing language can be used to write this interpreter. I'll be interested to see what people do with it. You can use C, Pascal, Forth, Perl, Python, or whatever. And you might want to use this in your existing application in case users need to write script configuration files that your application interprets.

Personal tools