Mercurial > repos > rhope
comparison string.rhope @ 131:0a4682be2db2
Modify lexer and new parser to work in compiler
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Fri, 05 Nov 2010 02:43:34 +0000 |
parents | fd23ab2c1a73 |
children | fc3815b7462f |
comparison
equal
deleted
inserted
replaced
130:147dfc703161 | 131:0a4682be2db2 |
---|---|
1047 } {} {} { | 1047 } {} {} { |
1048 out <- No | 1048 out <- No |
1049 } | 1049 } |
1050 } | 1050 } |
1051 | 1051 |
1052 After[text,prefix:after,not found] | |
1053 { | |
1054 If[[text]Starts With[prefix]] | |
1055 { | |
1056 ,after <- [text]Slice[[prefix]Length] | |
1057 }{ | |
1058 not found <- text | |
1059 } | |
1060 } | |
1061 |