" "
^ Pretty elegant, right?
let's try something a little more complex:
" "
^ As you can see, the goal of this new language is to take the best of Semicolon and just make it more succinct, and to round out some of the minor historical abnormalities that have been dragged along in the language spec for a while now.
So my hope is that you all enjoy CoffeeColon as much as I do. It's just like Semicolon, maintaining it's expressiveness and dynamic nature, with just a little bit of smoothing out of the kinks.
Thanks!
The first time you run a program under use Acme::Bleach, the module removes all the unsightly printable characters from your source file. The code continues to work exactly as it did before, but now it looks like this:
use Acme::Bleach;
http://search.cpan.org/~dconway/Acme-Bleach-1.13/lib/Acme/Bl...In any other context, building what is essentially a Turing machine with a few symbols, might qualify as a clever hack which helps folks step outside their ISO-latin1 mindset, but coming as it does on the heels of this controversy it just feels mean.
I find it hard to disagree with him. Eichs has admitted ASI was a mistake, every half-decent JS tutorial states unequivocally "use semicolons"... if you don't want semi-colons, don't use JS.
I find semicolon hilarious. We need to lighten up!
Please will everybody stop being silly.
We all have serious businesses to run, enabling people to find video of cats wearing mittens, making photographs square, all important stuff. So stop having fun and get back to work, those augmented media experiences wont write themselves you know.
But it is just common courtesy to make small accommodations for people who are having difficulty using the code that Twitter has so generously released as open source.
http://en.wikipedia.org/wiki/Whitespace_(programming_languag...
:)
next time go back to the definition of semicolon, and you will see why it is made of the glyphs , and .
Then you can make a true semicolon language, by mixing ; and ., (horizontal, if you will).
the first line given as an example program would go from ;;;;⁏;;⁏;;; (which doesnt even render in this browser text box for me atm) to ;;;;.,;;.,;;;
At that page, you can hear me read the poem, too; be sure to stop by and comment!
:imap <buffer> l ⁏
and whenever you want an inverted semi, type l. For best effects put that line in your ftplugin directory, in semi.vim (or whatever your autodetect filetype name for semicolon is).some people like to map j to ⁏ and k to ;, other like to map f to ⁏ and j to ;, but this is all just homerow keeping. I'm a purist, i like to keep the mappings minimal.
(I can understand avoiding the turned semicolon ("⸵", U+2E35), given that it doesn't seem to display properly. Can't be having unrenderable codes in one's language; it could severely reduce readability!)
To remedy this lack, I present to you my own semicolon-derived metalanguage, Hemidemisemicolon. A sample Hello World program follows:
⁏
؛;⁏⁏;;؛; ؛;⁏;
⁏;;;
As you can see, the dramatically increased lexical vocabulary leads to conciseness of expression. This program code compares favourably with the original Semicolon code, and as an added bonus it is also a quine and prints out "FizzBuzz" every three or five years on Douglas Crockford's birthday.An implementation note: the final semicolons on each line are optional. I was wondering if that was a good idea or not, but I'm sure it won't cause any trouble down the track.
I'm a fan of removing ambiguity in code. I parenthesize when not necessary so that intent is clear (someone in the future will hire a complete newbie to read and "fix" this code.) I want the statement to end here --> ";" and anything else is an error - now the compiler can inform me when a mistake is made. I ask what appear to be the most asinine questions because when you say "smooth ass ride" there's a difference between a "smooth-ass ride" and a "smooth ass-ride."
And as I type all this, I begin to create a connection between all those txtspk hooligans and semicolon haters. Anyway, I'm happy that Semicolon now exists.
I don't know if anyone has made a DCPU-16 interpreter for it yet!
To this day POP-11 holds the unsurpassed distinction of being the language for writing the most useless programs in the most intriquing way (after machine code, of course).
:set list
:set lischars=eol:;
.. Now all newlines will be semicolon'd