The Invention of “CharvaScript”

James (at work) said to me out of the blue that he thought of a language when at uni to be called “CharvaScript”.

Apart from making me laugh, it made me think a little. So I thought some more. Then I stopped thinking and picked my nose. Then I thought some more again.

I came up with this as the world’s first (I think) “CharvaScript”:

alrite mate
  got ciggy mate?
  got a light mate?

  mate, ciggy is "Marlboro"
  mate, light is "Zippo"

  av got ciggy and " " and light for you mate

nawww thanks mate

This is a new flavour of the classic “Hello World.” It outputs “Marlboro Zippo”.

I’m sure you can work it out by yourself how it’s interpreting the script into an executable code path.

About the Author

Sleuth

Hello, I'm Dave! I'm a software developer, and I've lived in Nottingham since October 2005, and I tend to write my random thoughts down here in the hope that they might help or entertain someone in the future. If you have a comment about any of the posts you see on this site, please submit it, as you might also be helping someone!

Leave a Reply

You can use these XHTML tags: <a href="" title=""> <abbr title=""> <acronym title=""> <blockquote cite=""> <code> <em> <strong>