OSDN Git Service

Remove parse, no strings in base library.
authorSimon Forman <sforman@hushmail.com>
Tue, 22 Mar 2022 14:59:11 +0000 (07:59 -0700)
committerSimon Forman <sforman@hushmail.com>
Tue, 22 Mar 2022 14:59:11 +0000 (07:59 -0700)
References: https://todo.sr.ht/~sforman/Xerblin/10

implementations/Python/joy/library.py

index 61e1e45..5094068 100644 (file)
@@ -227,15 +227,6 @@ def inscribe_(stack, expression, dictionary):
     return stack, expression, dictionary
 
 
-@inscribe
-@SimpleFunctionWrapper
-def parse(stack):
-    '''Parse the string on the stack to a Joy expression.'''
-    text, stack = stack
-    expression = text_to_expression(text)
-    return expression, stack
-
-
 # @inscribe
 # @SimpleFunctionWrapper
 # def infer_(stack):