Sexy Tool for Fast, Active Coding -- Any Language!
 A lot of people are having fun using 'The World's Simplest Code Generator' -- so i've updated it and improved it. Meet "The World's 2nd Simplest Code Generator". Like the original, it's online, takes one minute to learn, and has a million uses. This tool is my constant companion on all my coding adventures. Like those miraculous kitchen devices you see advertised on TV, this baby can cut, slice, dice, julianne, froth, beat, whip... It's extremely violent, really. Use it for all your "Micro-Code Generation" needs. The W2SCG has built-in patterns to use for some simple things (like C# properties and VB.net properties). If you invent any useful new patterns, leave a comment and I'll embed them in the tool. I'm particularly keen to see some Java, Php, C++ and SQL patterns. The difficult thing when developing this was keeping it **simple**. The temptation to pile in a lot of features was huge! (I cut over thirty features out!) The best of these deferred features will be released in subsequent versions. Expect to see "The World's 3rd Simplest Code Generator" soon.
'Richard Rodger' on Fri, 08 Jul 2005 09:18:00 GMT, sez: Neat!
But, in fairness, Emacs!!!
(sorry, couldn't resist...)
'secretGeek' on Fri, 08 Jul 2005 12:18:48 GMT, sez: but richard -- what about Ricebridge, CSV manager, or jostraca??
thanks for dropping by! now how about providing a few templates??
'Richard Rodger' on Sat, 09 Jul 2005 15:42:55 GMT, sez: ah sure you 'll have to get me over to the dark side (.Net) first...
(only kidding :) in fact I have tried porting both of those apps to .Net but ran into some nasty gotchas with Java IO, if I recall)
I'll see if I can find some suitable templates for you...
'blameMike' on Mon, 11 Jul 2005 12:22:13 GMT, sez: Hey SG,
The World's 2nd Simplest Code Generator doesn't exactly render properly in FireFox. The Calculate button is almost invisible.
In IE however, it is code generation bliss.
'Richard Rodger' on Tue, 12 Jul 2005 09:33:28 GMT, sez: Alrighty then, here's a simple Java template for creating bean properties...
data:
int,Foo,0
String,Bar,""
template:
private $1 i$2 = $3;
public $1 get$2() {
return i$2;
}
public void set$2( $1 p$2 ) {
i$2 = p$2;
}
'secretGeek' on Fri, 15 Jul 2005 21:56:00 GMT, sez: thanks Richard! -- i'll put that in the list
cheers Mike -- i'll fix the firefox issues as soon as i get a chance
'Houghtelin' on Tue, 09 Aug 2005 12:20:06 GMT, sez: This thing saved me a crapload of time last night. An insurance client of mine handed me a disk with a text file containing all the information he wanted on the computer. copy-paste, 10 seconds later your tool made an array for me. done.
40 more lines of code & the operation was complete.
Thanks man!
'http://' on Wed, 10 Aug 2005 06:11:44 GMT, sez: Hey you just saved me a ton of time too -- so thanks!
It would have been been even better if there was a special substitution for row number so I could have automatically numbered the output.
Thanks!
'secretGeek' on Tue, 20 Sep 2005 04:06:59 GMT, sez: >special substitution for row number so I
>could have automatically numbered the output
this feature is coming in the next version.
'RobWilliams' on Mon, 31 Oct 2005 19:10:20 GMT, sez: Haven't had a reason to play with this until now as i've been working on a pregenned codebase (and a nasty one at that...) but this is great for designing templates
How about some sort of casing token for those of us who are anal about our property name casing?
'secretGeek' on Mon, 31 Oct 2005 22:18:22 GMT, sez: what are you thinking Rob?
I could put in a commands that convert a given $1 into uppercase, or lowercase...
as in Ucase($1), LCase($1)... that kind of thing?
Or something more complex... SentenceCase($1)... Dispascalize($2)...
what's the idea?
Comments disabled due to spam
|