News : The level of daily SPAM has reached insane proportions, all registrations are now manual. I ask you to send me an e-mail (john (at) murga (dot) org), to confirm that you want me to create an account for you.


Post Reply  Post Thread 
murgaLua to html
Author Message
mikshaw
Senior Member
****


Posts: 522
Group: Registered
Joined: Apr 2007
Status: Offline
Reputation: 5
Post: #1
murgaLua to html

I started this conversion script this morning, which I hope to use to convert murgaLua scripts into syntax highlighted html.
For now it's really sloppy, and there are several things that will need to be worked out:
multiline comments, ignoring keywords within comments and strings, nested strings, multiline strings,
and of course doing it line-by-line rather than reading the whole file with every command.

I'm done working on it for now, though, so I'll post in case anyone has any suggestions, or just wants to play with it.

Code:
DELETED


I found a Perl script that converts lua proper to html, and I was thinking of modifying that for CGI use to convert online lua files on the fly,
but if I get this working well, maybe I'll use it with CGILua or haserl.

This post was last modified: 03-10-2008 05:45 AM by mikshaw.

03-09-2008 05:42 AM
Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

Messages In This Thread
murgaLua to html - mikshaw - 03-09-2008 05:42 AM
RE: murgaLua to html - iGame3D - 03-09-2008, 06:52 AM
RE: murgaLua to html - mikshaw - 03-09-2008, 07:56 AM
RE: murgaLua to html - mikshaw - 03-09-2008, 08:31 AM
RE: murgaLua to html - mikshaw - 03-10-2008, 05:44 AM
RE: murgaLua to html - mikshaw - 03-12-2008, 04:59 AM
RE: murgaLua to html - mikshaw - 03-13-2008, 03:47 AM
RE: murgaLua to html - iGame3D - 03-13-2008, 10:10 AM
RE: murgaLua to html - mikshaw - 03-13-2008, 10:34 AM
RE: murgaLua to html - mikshaw - 03-13-2008, 12:01 PM

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump: