Gulp Introduction

From Computer Tyme Support Wiki

Revision as of 23:53, 25 October 2005 by 2chemp (Talk | contribs)
Jump to: navigation, search
  • 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.

- levitra - levitra online - levitra prices - order levitra - generic levitra - levitra uk - buy levitra - levitra viagra - viagra levitra - levitra side - buy levitra online - online levitra - levitra buy - what is levitra - cheap levitra - take levitra - www levitra - levitra review - levitra order - Free porn clips - free porn videos - hardcore porn - asian porn - porn stars - free lesbian porn - free gay porn - black porn - underage porn - reality porn - celebrity porn - porn star - futurama porn - anti spyware - free spyware - spyware - anti spyware software - cartoon porn - hardcore fuck - anal fuck - asian fuck - pussy fuck - fuck you - fuck fest - gay fuck - fuck my wife - fuck me - teen fuck - horse fuck - titty fuck - get viagra - buying viagra - viagra pill - online viagra - viagra for sale - viagra for women - viagra sale - viagra sales - viagra ireland - cheapest viagra - female viagra - order viagra - viagra prescription - discount viagra - generic viagra - debt consolidation - ebony porn - mature porn - vintage porn - porn underage - free porn movie clips - porn videos - amateur porn - free teen porn - indian porn - xxx porn - free porn video - hentai porn - free anime porn - porn clips - adult porn - free hardcore porn - free porn video clips - free asian porn - granny porn - free porn pictures - japanese porn - celeb porn - free porn sites - free cartoon porn - russian porn - porn sites - porn for women - free porn galleries - anal porn - pregnant porn - latina porn - atlantic city casino - atlantic city casino images - atlantic city casino directory - atlantic city casino taj mahal - atlantic city casino phonenumbers - atlantic city casino comps - atlantic city casino room deals - atlantic city casino deals - atlantic city casino poker tournaments - atlantic city casino restaurant - atlantic city casino packages from detroit - atlantic city casino games - atlantic city casino coin packages - atlantic city casino thanksgiving - atlantic city casino job openings - atlantic city casino reviews - atlantic city casino on strike - reservations atlantic city casino - atlantic city casino taj mahal accounts - atlantic city casino survey - atlantic city casino offers - atlantic city casino free buffet - atlantic city casino pokler tournaments - school blowjobs - latina blowjobs - ebony blowjob - blowjob mpegs - street blowjob - giving a blowjob - amateur blowjob - mature blowjob - give a perfect blowjob - blonde blowjob - ebony blowjobs - hardcore blowjobs - blowjob tutorials - blowjob movies - black blowjobs - free blowjob videos - homemade blowjob - asian blowjobs - asian blowjob - blowjob galleries - blowjob movie - teen blowjob - gay blowjob - teen blowjobs - gay blowjobs - blowjobs - blowjob - blowjob clips - fuck - tit fuck - ass fuck - titty fuck - teen fuck - fuck me - fuck my wife - gay fuck - butt fuck - fuck fest - pussy fuck - hard fuck - asian fuck - first fuck - anal fuck - hardcore fuck - mature fuck - fuck machine - finger fuck - hot fuck - bat girl fuck - fuck me hard - wife fuck - black fuck - fist fuck - gay black - gay bears - gay bear - gay bdsm - gay bareback - gay ass fucking - gay ass - gay asian - gay anime - gay anal sex - gay anal - gay - free gay videos - free gay video clips - free gay video - free gay sex videos - free gay sex stories - free gay sex movies - free gay sex - free gay porn - free gay pix - free gay pictures - free gay pics - free gay movies - free gay male porn - free gay galleries - free gay chat - free gay - dad and son gay sex - boys gay kiss - black gay - big gay cocks - big gay cock - alta gay links - all free nude babes - gay group sex - gay black men - gay black sex - gay blow job - gay blow jobs - gay blowjob - gay blowjobs - gay bondage - gay boy - gay boy sex - gay boys - gay cartoon - gay chat - gay cock - gay cocks - gay cops - gay cum - gay cum shot - gay cum shots - gay cumshot - gay cumshots - gay dicks - gay dudes - gay erotic stories - gay escorts - gay fisting - gay fuck - gay fucking - gay gang bang - gay gangbang - phentermine - girl teens posing in bras - teen boys - young teens - teen lesbians have sex - teen ass - anal teen - ass teen - teen kelly - hot teen girls - pre teens have sex - teen thongs - teen titans - tiffany teen - teen model - naked teens - teen sexuality - teen titans hentai - teens for cash - nude teens - teen lesbians - hot teens - teen models - teen pussy - teen porn - sexy teens - teen lesbian - teens - teen - teen sex - teen girls - incest - incest stories - incest porn - hentai galleries - free incest stories - family incest - cartoon incest - gay incest - incest sex stories - incest sex - daughter incest - free incest sex stories - free incest - incest pics - lesbian incest - incest art - incest cartoons - incest comics - brother sister incest - 3d incest - incest pictures - mother daughter incest - mother son incest - dad and daughter incest - family fucking incest - incest toons - father daughter incest - teen incest - free incest pics - sister incest - incest mom - sonic hentai galleries - brother and sister incest - free incest pictures - erotic incest stories - simpsons incest - hentai incest - mom incest - incest videos - free cartoon hentai galleries - incest photos - free incest porn - anime incest - incest movies - incest cartoon - incest taboo - incest mother and daughter - free incest movies - incest story - incest mom son - mom son incest - comics incest - free incest galleries - real incest - free hentai galleries - incest forum - free incest videos - incest rape - incest hentai - family incest galleries

Personal tools