Official Everybody Edits Forums

Do you think I could just leave this part blank and it'd be okay? We're just going to replace the whole thing with a header image anyway, right?

You are not logged in.

#1 2018-08-10 02:39:36

SirJosh3917
Formerly ninjasupeatsninja
From: USA
Joined: 2015-04-05
Posts: 2,095

[Lazy Release] SwitchAsm

A C# tool to generate switch levels from text files. See a working demo of it on EE and the source code for it.

SwitchAsm as of it's current state is fairly immature, but just mature enough to technically work.

Small Tutorial

Offline

Wooted by:

#2 2018-08-10 16:29:21

den3107
Member
From: Netherlands
Joined: 2015-04-24
Posts: 1,025

Re: [Lazy Release] SwitchAsm

The definition syntax (#{no space}<variable> <value>) could be improved on.
First off using a different symbol than a comment (An @ could work).
Another thing I would personally do (but there are opinions for and against it), is also introduce a colon to separate the variable name from value name.

So new syntax would become "@<name>:<value>" Or in regex (stripping away preceding and trailing white space): "@\s*(?<name>\S(\s*[^\s:])*)\s*:\s*(?<value>\S.*)"
                                                            ^ First colon found (so any 2nd+ colons are part of value)

Offline

Wooted by: (2)
den31071533914961718909

Board footer

Powered by FluxBB

[ Started around 1711666496.8284 - Generated in 0.028 seconds, 12 queries executed - Memory usage: 1.39 MiB (Peak: 1.48 MiB) ]