comparison modules/parser.tp @ 252:004946743678

Added code for building a method symbol table
author Michael Pavone <pavone@retrodev.com>
date Sat, 10 May 2014 19:11:01 -0700
parents b76f683d076e
children 03a07e540b9f
comparison
equal deleted inserted replaced
251:2557ce4e671f 252:004946743678
10 //TODO: UTF-8 support 10 //TODO: UTF-8 support
11 length <- { _len } 11 length <- { _len }
12 byte_length <- { _len } 12 byte_length <- { _len }
13 string <- { 13 string <- {
14 if: _needsflat? { 14 if: _needsflat? {
15 _needsflat? <- false
15 _flat <- _base from: _start withLength: _len 16 _flat <- _base from: _start withLength: _len
16 } 17 }
17 _flat 18 _flat
18 } 19 }
19 from:withLength <- :s :l { 20 from:withLength <- :s :l {