[PLUG-Devel] Profiling a new programming language

Ryan Rix phrkonaleash at gmail.com
Wed Nov 12 17:08:02 MST 2008


Hello list,

To stave off my boredom I've decided to take up creating a programming 
language specifically for creating long repetitive text documents (like 
repetitive resource definitions) where simple ctrl-c ctrl-v won't work, like 
incrementing ID's, filenames within definitions, etc.

Basically, I have created, what I believe will be the sample script input file 
(which I have attached, along with the target generated file) so that I have a 
goal to aim for.

What would be the best way to start by developing this tool? I have never done 
any programming real down to the core like this, nothing with a lot of text 
parsing before... How would I best attack creating an interpreter?
I plan on making it in C so that it is fairly portable sourcewise, unless I am 
presented a better option of course :)

Thank you for your time,
Ryan

--
Thanks and best regards,
Ryan Rix
TamsPalm - The PalmOS Blog

Ditch MP3! Screw AAC! Banish WMA! OGG for life!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: macrotemplate.mcro
Type: text/x-objcsrc
Size: 2603 bytes
Desc: not available
Url : http://lists.PLUG.phoenix.az.us/pipermail/plug-devel/attachments/20081112/70f3c59a/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pilrc.rcp
Type: text/x-objcsrc
Size: 14025 bytes
Desc: not available
Url : http://lists.PLUG.phoenix.az.us/pipermail/plug-devel/attachments/20081112/70f3c59a/attachment-0001.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://lists.PLUG.phoenix.az.us/pipermail/plug-devel/attachments/20081112/70f3c59a/attachment.pgp 


More information about the PLUG-devel mailing list