Moved compiler methods into module Compiler, moved call to pbSetUpSystem into Main

This commit is contained in:
Maruno17
2020-10-18 17:23:13 +01:00
parent a6d21de0c1
commit 2be698497a
21 changed files with 4249 additions and 4467 deletions

View File

@@ -21,10 +21,8 @@ def canonicalize(c)
for x in csplit
if x=="."
elsif x==".."
if pos>=0
ret.delete_at(pos)
pos -= 1
end
ret.delete_at(pos) if pos>=0
pos -= 1
else
ret.push(x)
pos += 1