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

NimbleText 2.0: More Than Twice The Price! NimbleText 2.0: More Than Twice The Price!
A Computer Simulation of Creative Work, or 'How To Get Nothing Done' A Computer Simulation of Creative Work, or 'How To Get Nothing Done'
NimbleText 1.9 -- BoomTown! NimbleText 1.9 -- BoomTown!
Line Endings. Line Endings.
**This** is how you pivot **This** is how you pivot
Art of the command-line helper Art of the command-line helper
Go and read a book. Go and read a book.
Slurp up mega-traffic by writing scalable, timeless search-bait Slurp up mega-traffic by writing scalable, timeless search-bait
Do *NOT* try this Hacking Script at home Do *NOT* try this Hacking Script at home
The 'Should I automate it?' Calculator The 'Should I automate it?' Calculator
aaron swartz: the early works aaron swartz: the early works
Finding (and removing) duplicate files on your hard drive Finding (and removing) duplicate files on your hard drive
Harvey, a .net chat server built with RabbitMQ Harvey, a .net chat server built with RabbitMQ
LeonBambrick.com LeonBambrick.com
So your domain has been stolen. What now? So your domain has been stolen. What now?
kv can remember it for you, wholesale kv can remember it for you, wholesale
Hello IT Department Hello IT Department
Dialog Between a Man and His Vista Laptop Dialog Between a Man and His Vista Laptop
NimbleText 1.6, Codename Jetboat NimbleText 1.6, Codename Jetboat
On Task Hoarding and Todo Bankruptcy On Task Hoarding and Todo Bankruptcy
Developer UI Done Right: Mercurial Commandline! Developer UI Done Right: Mercurial Commandline!
Rediscovering the Amstrad CPC 6128 Rediscovering the Amstrad CPC 6128
Just Wally Just Wally
The Correct Order for a First Time Viewing of The Lord Of The Rings The Correct Order for a First Time Viewing of The Lord Of The Rings
A new era for Android. A new era for Android.
Mind-boggling Demo of New Gaming Genre, aka Folder-Based Hangman, aka Fun with Recursion Mind-boggling Demo of New Gaming Genre, aka Folder-Based Hangman, aka Fun with Recursion
Got CSV in your javascript? Use agnes. Got CSV in your javascript? Use agnes.

Archives Complete secretGeek Archives

TimeSnapper -- Automated Screenshot Journal TimeSnapper: automatic screenshot journal

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 little schemer


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

Recommended blogs

Jeff Atwood
Joseph Cooney
Phil Haack
Scott Hanselman
Julia Lerman
Rhys Parry
Joel Pobar
OJ Reeves
Eric Sink

Aggregated Links

proggit
dzone
hacker news
dot net kicks

Human Link Machines

interesting finds
a continuous learner's weblog
arjan's world
weekly link post

LinkedIn profile
LogEnvy - event logs made sexy
Computer, Unlocked. A rapid computer customization resource
Aussie Bushwalking
BrisParks :: best parks for kids in brisbane
PhysioTec, Brisbane Specialist Physiotherapy & Pilates
 
home .: about .: sign up .: sitemap .: secretGeek RSS .: © Leon Bambrick 2003 .: privacy

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