News for hackers. Stuff that matters.
Re:C (Cbang) - A system oriented programming language by kibwen on Wednesday May 09, 2012 @10:21AM (#3948678)
I think that languages that are a just thin shell on top of C (as opposed to languages that merely target C, e.g. Chicken Scheme) might have some potential. I'll call this coffeescriptification--still eagerly awaiting the first transpiled language that does nothing but remove C's braces and semicolons. If someone doesn't do it by next April Fools, I certainly will (I already have the name in mind: Glee (the italics are part of the name, and mandatory)).
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.

Re:C (Cbang) - A system oriented programming language by dragonbonheur on Wednesday May 09, 2012 @11:56AM (#3949124)
Funny how everyone wants to program in BASIC but doesn't want to admit it. Like the Python and Lua guys. Try FreeBASIC, it's a compiler.
Re:C (Cbang) - A system oriented programming language by jksmith on Wednesday May 09, 2012 @03:19PM (#3950051)
Haha! Or insert Pascal in there and try out some FreePascal, the perennial number 5 to 8 on most the alioth shootouts for the past 20 years.
Re:C (Cbang) - A system oriented programming language by norswap on Wednesday May 09, 2012 @12:14PM (#3949209)
Not sure if irony, or really dumb comment.
Re:C (Cbang) - A system oriented programming language by dragonbonheur on Wednesday May 09, 2012 @12:57PM (#3949431)
:D It has pointers too, will make a man outta you. Then you'll be able to easily move on to C++ as the OOP structure is almost the same.
Re:C (Cbang) - A system oriented programming language by Zak on Wednesday May 09, 2012 @01:40PM (#3949633)
You're making it sound like C++ with Basic syntax, which does not increase its appeal.
Re:C (Cbang) - A system oriented programming language by dragonbonheur on Thursday May 10, 2012 @04:51PM (#3955946)
No, it's BASIC with the potential for C++ syntax when using objects.
Re:C (Cbang) - A system oriented programming language by kodablah on Wednesday May 09, 2012 @01:45PM (#3949653)
I too am looking for this in Java. Especially if the transpiler was easily extendable to add your own language features. The key would be to make sure it transpiles both ways so that it could be adopted in a corporate, Java-only environment.
Re:C (Cbang) - A system oriented programming language by 0xABADC0DA on Wednesday May 09, 2012 @01:12PM (#3949493)
One thing often overlooked in language design is the filename. It's 2012, why are languages still stuck with IBM-era filename extentions when they could use unicode?! For instance:

Rust: filename.ℛ

Java: filename.☕

Glee: filename.☺

Isn't that just so much clearer and nicer-looking than ".rs" or ".java" or ".g"? It's really the fine aesthetic points like this that can make or break a language.

Re:C (Cbang) - A system oriented programming language by kibwen on Wednesday May 09, 2012 @01:25PM (#3949564)
Brilliant. I'll be sure to mention your <s>name</s> memory address in the foreword of the obligatory O'Reilly book (taking suggestions for the cover animal; I'm partial to the thylacine, myself).

One suggested improvement: Rust's extension should preferably be .® to jive with the language's official logo.[1] And with the advent of emoji, we can give Perl a file extension of .🐪 (Unicode Character 'DROMEDARY CAMEL' (U+1F42A)). Perl 6 can get the bactrian camel instead.

[1] http://en.wikipedia.org/wiki/File:Rust_programming_language_...

Re:C (Cbang) - A system oriented programming language by sigzero on Wednesday May 09, 2012 @01:34PM (#3949609)
I am sure your sarcasm tag is on. That would be horrible.
Re:C (Cbang) - A system oriented programming language by muyuu on Thursday May 10, 2012 @06:13AM (#3952664)
It's not clearer at all for me, especially when some of these characters won't render reliably on several platforms (for instance, the java char isn't showing in this browser right now).

Extensions and filenames can be made not to be so central, which I'd consider a more reasonable development over superficial silly hacks like that. This is IDE domain, definitely in 2012 and for years to come.

If you want to render your extensions to funny happy Unicode symbols in your specific purpose file manager, then fine by me. Actually storing filenames like that would just make you a number of new enemies.

Re:C (Cbang) - A system oriented programming language by Arelius on Wednesday May 09, 2012 @01:21PM (#3949546)
Uhh, sure.