ID:2104095
 
(See the best response by MrStonedOne.)
I am trying to load a map in SS13(I got the code here https://github.com/goonstation/goonstation-2016) and when I open it up, under the object tab I get the message "Compilation errors present; recompile(CTRL+K) and correct them in order to use the object tree & edit maps. I did that and got this message in the log:

loading goonstation.dme
loading code\style.dms
loading interface\skin.dmf
code\procs\gamehelpers.dm:42:error: replacetext: invalid proc name: reserved word
code\WorkInProgress\regex\Regex.dm:501:error: next.TrueBlock: undefined proc
code\WorkInProgress\regex\Regex.dm:501:error: next.next: undefined var
code\WorkInProgress\regex\Regex.dm:95:error: next: duplicate definition
code\WorkInProgress\regex\Regex.dm:125:error: flags: duplicate definition
code\WorkInProgress\regex\Regex.dm:160:error: match: duplicate definition
code\WorkInProgress\regex\Regex.dm:161:error: index: duplicate definition
code\WorkInProgress\blueprints.dm:229:error: splittext: invalid proc name: reserved word
code\WorkInProgress\regex\Regex.dm:500:error: next: unknown variable type
code\WorkInProgress\regex\Regex.dm:713:error: p.next.ptype: undefined var
code\WorkInProgress\regex\Regex.dm:713:error: p.next.n: undefined var
code\WorkInProgress\regex\Regex.dm:713:error: p.next.m: undefined var
code\WorkInProgress\regex\Regex.dm:714:error: p.next.pattern: undefined var
code\WorkInProgress\regex\Regex.dm:716:error: p.next.next: undefined var
code\WorkInProgress\regex\Regex.dm:758:error: Find: duplicate definition
code\WorkInProgress\regex\Regex.dm:1075:error: Replace: duplicate definition
code\WorkInProgress\regex\Regex.dm:1105:error: p.child.next.child: undefined var
code\WorkInProgress\regex\Regex.dm:1107:error: p.child.next.child: undefined var
goonstation.dmb - 18 errors, 0 warnings (6/21/16 9:01 pm)

I'm running the current version of Byond.
You'll have to ditch all the custom regex code in that codebase (which I'm guessing is just my own regex lib), because 510 implements regex manually. It also does replacetext() and splittext() manually.
Best response
you need to download from the 510 branch on goonstation's github: https://github.com/goonstation/goonstation-2016/tree/ goonstation-2016-byond510

it makes it work with the new(ish) 510 byond version.