[NO TESTS] WIP
This commit is contained in:
parent
6a33fa1016
commit
50842cb3d1
1 changed files with 3 additions and 1 deletions
|
@ -264,6 +264,8 @@ class Parser(SexpParser):
|
|||
assert rtb.read() == closec # Discard the trailing delimeter
|
||||
return ctor(acc, str(rtb), pos)
|
||||
|
||||
# FIXME (arrdem 2020-07-18):
|
||||
# Break this apart and make the supported lists composable features somehow?
|
||||
@classmethod
|
||||
def parse_list(cls, f: PosTrackingBufferedReader):
|
||||
return cls.parse_delimeted(f, "(", ")", lambda *args: ListToken(*args, ListType.ROUND))
|
||||
|
@ -273,7 +275,7 @@ class Parser(SexpParser):
|
|||
return cls.parse_delimeted(f, "[", "]", lambda *args: ListToken(*args, ListType.SQUARE))
|
||||
|
||||
# FIXME (arrdem 2020-07-18):
|
||||
# Break this apart into middleware or composable features somehow?
|
||||
# Break this apart into middleware or composable features somehow?
|
||||
@classmethod
|
||||
def handle_symbol(cls, buff, pos):
|
||||
def _sign(m, idx):
|
||||
|
|
Loading…
Reference in a new issue