)
+class ParseError(ValueError):
+ '''
+ Raised when there is a error while parsing text.
+ '''
+
+
class Symbol(str):
'''
A string class that represents Joy function names.
'''
quote, x, stack = get_n_items(2, stack)
+ isnt_stack(quote)
expr.prepend((x, ()))
expr.prepend(quote)
return stack, expr, dictionary
'''
quote, stack = get_n_items(1, stack)
+ isnt_stack(quote)
expr.prepend(quote)
return stack, expr, dictionary
pass
-class ParseError(ValueError):
- '''
- Raised when there is a error while parsing text.
- '''
-
-
class StackUnderflowError(Exception):
pass