News for hackers. Stuff that matters.
Re:C (Cbang) - A system oriented programming language by marcusf on Wednesday May 09, 2012 @10:41AM (#3948780)
Sounds like what you're looking for is the original Bash source code, circa 1977, for example [1]:

  LOCAL STRING	copyto(endch)
  	REG CHAR	endch;
  {
  	REG CHAR	c;
  
  	WHILE (c=getch(endch))!=endch ANDF c
  	DO pushstak(c|quote) OD
  	zerostak();
  	IF c!=endch THEN error(badsub) FI
  }
Applicable macros if you want to give your code that classic ALGOL 68 smell in [2].

[1] http://minnie.tuhs.org/cgi-bin/utree.pl?file=V7/usr/src/cmd/...

[2] http://minnie.tuhs.org/cgi-bin/utree.pl?file=V7/usr/src/cmd/...

Re:C (Cbang) - A system oriented programming language by jff on Wednesday May 09, 2012 @02:13PM (#3949804)
Hate to be pedantic, but that's the Bourne shell, not bash.
Re:C (Cbang) - A system oriented programming language by marcusf on Wednesday May 09, 2012 @06:28PM (#3950797)
Yup, totally correct and really not that pedantic. I realized that about two hours later when I reviewed my own comment and promptly punched myself…
Re:C (Cbang) - A system oriented programming language by pavlov on Wednesday May 09, 2012 @04:32PM (#3950326)
I wonder why IF closes with FI, REP closes with PER and LOOP closes with POOL, but SWITCH fails to complete the series: it closes with ENDSW...

Why not go all the way with HCTIWS, when you've already abandoned your sanity to Cthulhu?

Re:C (Cbang) - A system oriented programming language by phillmv on Wednesday May 09, 2012 @10:45AM (#3948799)
"An original idea. That can't be too hard. The library must be full of them."
Re:C (Cbang) - A system oriented programming language by kabdib on Wednesday May 09, 2012 @12:48PM (#3949390)
I remember going through that code, and wanting to simultaneously reach for a spraycan of holy water, and claw my eyes out.

Similar efforts (the linguist at DRI who did a #define of totally new control structures . . . in Russian, though he wasn't Russian, it was just a lark) are why we can't have nice things.