Sexy Tool for Fast, Active Coding -- Any Language!
secretGeek .:dot Nuts about dot Net:.
home .: about .: sign up .: sitemap .: secretGeek RSS

Sexy Tool for Fast, Active Coding -- Any Language!

The World's 2nd Simplest Code Generator

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.

The World's 2nd Simplest Code Generator



'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

Articles

SQL Style Extensions for C# SQL Style Extensions for C#
The Movie Hollywood (And My Wife) Doesn't Want You To See: Weekend at Jacko's The Movie Hollywood (And My Wife) Doesn't Want You To See: Weekend at Jacko's
Sysi: the ultimate administrators toolkit Sysi: the ultimate administrators toolkit
Movie: Priest Academy Movie: Priest Academy
Inspirational Rat Story Inspirational Rat Story
A face-melting DSL that allows programming ON the iPhone (and iPad) A face-melting DSL that allows programming ON the iPhone (and iPad)
The secretGeek Disaster Recovery plan The secretGeek Disaster Recovery plan
Save KNVTn! Before it's too late Save KNVTn! Before it's too late
The Ultimate Agent of WERF Destruction The Ultimate Agent of WERF Destruction
The new prisoner's dilemma The new prisoner's dilemma
Original Premise for a road movie Original Premise for a road movie
What's a better game than Devshop? What's a better game than Devshop?
DevShop: The Cool Game that Makes Development Look Fun DevShop: The Cool Game that Makes Development Look Fun
Should be purple Should be purple
Kitchen Agile Kitchen Agile
Perhaps Perhaps "Go" is the new Visual Basic
zen-coding: turn those CSS selectors upside down zen-coding: turn those CSS selectors upside down
Debugging: It's all about finding Albuquerque. Debugging: It's all about finding Albuquerque.
The Real-Time online JQuery Editor The Real-Time online JQuery Editor
HTML5, a 3 minute guide HTML5, a 3 minute guide
Developer Codpieces Developer Codpieces
Agile for one: The Personal Story 'Wall' In Action Agile for one: The Personal Story 'Wall' In Action
Never work with thick people. Never work with thick people.
Cosmo: project status panel Cosmo: project status panel
Windows Search in Japan Windows Search in Japan
Project Management Zen Project Management Zen
Continuous Integration, Plugins and Going Too Far Continuous Integration, Plugins and Going Too Far
The Rules of Stand Up The Rules of Stand Up
Sydney International Airport: Stupid, Criminal, or Criminally Stupid? Sydney International Airport: Stupid, Criminal, or Criminally Stupid?
God No! ...The ReBuilder God No! ...The ReBuilder
Matt, The Office Mortar Matt, The Office Mortar
'Outlook style' rules for Subversion 'Outlook style' rules for Subversion
Really deep linking: Url + regex Really deep linking: Url + regex
hExcel -- A Hexagonal Spreadsheet hExcel -- A Hexagonal Spreadsheet
Is the remote control a thing of the past? Is the remote control a thing of the past?
The Utterly Thorough Guide To Awesome Application Compatibility on Windows 7. The Utterly Thorough Guide To Awesome Application Compatibility on Windows 7.
Astounding Hyperlinked Noticeboard Astounding Hyperlinked Noticeboard
Three Questions About Each Bug You Find Three Questions About Each Bug You Find
Recursing over the Pareto Principle... Recursing over the Pareto Principle...
Sometimes, The Better You Program, The Worse You Communicate. Sometimes, The Better You Program, The Worse You Communicate.

Archives .: secretGeek :: Complete Archives
TimeSnapper -- Automated Screenshot Journal TimeSnapper.com    
Version 3.3: true productivity boost

Next Action NextAction
Managing the top of your mind

World's Simplest Code Generator (html edition) World's Simplest Code Generator

25 steps for building a Micro-ISV 25 steps for building a Micro-ISV
3 minute guides -- babysteps in new technologies: powershell, JSON, watir, F# 3 Minute Guide Series
Universal Troubleshooting checklist Universal Troubleshooting Checklist
Top 10 SecretGeek articles Top 10 SecretGeek articles
ShinyPower (help with Powershell) ShinyPower
Now at CodePlex

Realtime CSS Editor, in a browser RealTime Online CSS Editor
Gradient Maker -- a tool for making background images that blend from one colour to another. Forget photoshop, this is the bomb. Gradient Maker


[powered by Google] 


How to be depressed How to be depressed
You are not inadequate.



Recommended Reading

The Best Software Writing I
The Business Of Software (Eric Sink)

Recommended blogs

Jeff Atwood
Reginald Braithwaite
Joseph Cooney
Phil Haack
Scott Hanselman
Julia Lerman
Rhys Parry
Joel Pobar
OJ Reeves
Eric Sink
Joel Spolsky
Des Traynor

Aggregated Links

programming.reddit.com
dzone
dot net kicks

Human Link Machines

interesting finds
a continuous learner's weblog
arjan's world
n links today
new and notable
morning coffee
learning .net
weekly link post
(my del.icio.us account)

LinkedIn profile
 
home .: about .: sign up .: sitemap .: secretGeek RSS .: © Leon Bambrick 2003 .: privacy

home .: about .: sign up .: sitemap .: RSS .: © Leon Bambrick 2003 .: privacy