You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
VERSÃO DO PYTHON:
Python 2.7.1 (r271:86832, Nov 27 2010, 18:30:46) [MSC v.1500 32 bit (Intel)] on win32
Tentar executar o módulo "p_compiler" através da função "main" resulta no seguinte erro:
C:\Python27\python.exe C:/Users/alex/PycharmProjects/ptpy/ptpy/p_compiler.py
WARNING: 'p_ast' not defined as a function
WARNING: 'p_lexer' not defined as a function
ERROR: C:\Users\alex\PycharmProjects\ptpy\ptpy\p_parser.py:262: Symbol 'DEFINE' used, but not defined as a token or a rule
ERROR: C:\Users\alex\PycharmProjects\ptpy\ptpy\p_parser.py:263: Symbol 'DEFINE' used, but not defined as a token or a rule
WARNING: Token 'RETURN' defined, but not used
WARNING: Token 'RAISE' defined, but not used
WARNING: Token 'GLOBAL' defined, but not used
WARNING: Token 'DEL' defined, but not used
WARNING: Token 'PRINT' defined, but not used
WARNING: Token 'DEF' defined, but not used
WARNING: Token 'EXCEPT' defined, but not used
WARNING: Token 'IMPORT' defined, but not used
WARNING: Token 'CLASS' defined, but not used
WARNING: Token 'WS' defined, but not used
WARNING: Token 'TRY' defined, but not used
WARNING: Token 'FINALLY' defined, but not used
WARNING: Token 'FROM' defined, but not used
WARNING: Token 'LAMBDA' defined, but not used
WARNING: There are 14 unused tokens
ERROR: Infinite recursion detected for symbol 'define_stmt'
Traceback (most recent call last):
File "C:/Users/alex/PycharmProjects/ptpy/ptpy/p_compiler.py", line 191, in
main()
File "C:/Users/alex/PycharmProjects/ptpy/ptpy/p_compiler.py", line 176, in main
compiler = PtpyCompiler()
File "C:/Users/alex/PycharmProjects/ptpy/ptpy/p_compiler.py", line 162, in init
self.parser = ptpyparser.PtpyParser()
File "C:\Users\alex\PycharmProjects\ptpy\ptpy\p_parser.py", line 704, in init
self._parser = yacc.yacc()
File "C:\Python27\lib\site-packages\ply\yacc.py", line 3214, in yacc
raise YaccError("Unable to build parser")
ply.yacc.YaccError: Unable to build parser
Process finished with exit code 1
Edit:
Tentar executar o pacote de testes(já fixado), resulta no mesmo erro.
The text was updated successfully, but these errors were encountered:
VERSÃO DO PYTHON:
Python 2.7.1 (r271:86832, Nov 27 2010, 18:30:46) [MSC v.1500 32 bit (Intel)] on win32
Tentar executar o módulo "p_compiler" através da função "main" resulta no seguinte erro:
C:\Python27\python.exe C:/Users/alex/PycharmProjects/ptpy/ptpy/p_compiler.py
WARNING: 'p_ast' not defined as a function
WARNING: 'p_lexer' not defined as a function
ERROR: C:\Users\alex\PycharmProjects\ptpy\ptpy\p_parser.py:262: Symbol 'DEFINE' used, but not defined as a token or a rule
ERROR: C:\Users\alex\PycharmProjects\ptpy\ptpy\p_parser.py:263: Symbol 'DEFINE' used, but not defined as a token or a rule
WARNING: Token 'RETURN' defined, but not used
WARNING: Token 'RAISE' defined, but not used
WARNING: Token 'GLOBAL' defined, but not used
WARNING: Token 'DEL' defined, but not used
WARNING: Token 'PRINT' defined, but not used
WARNING: Token 'DEF' defined, but not used
WARNING: Token 'EXCEPT' defined, but not used
WARNING: Token 'IMPORT' defined, but not used
WARNING: Token 'CLASS' defined, but not used
WARNING: Token 'WS' defined, but not used
WARNING: Token 'TRY' defined, but not used
WARNING: Token 'FINALLY' defined, but not used
WARNING: Token 'FROM' defined, but not used
WARNING: Token 'LAMBDA' defined, but not used
WARNING: There are 14 unused tokens
ERROR: Infinite recursion detected for symbol 'define_stmt'
Traceback (most recent call last):
File "C:/Users/alex/PycharmProjects/ptpy/ptpy/p_compiler.py", line 191, in
main()
File "C:/Users/alex/PycharmProjects/ptpy/ptpy/p_compiler.py", line 176, in main
compiler = PtpyCompiler()
File "C:/Users/alex/PycharmProjects/ptpy/ptpy/p_compiler.py", line 162, in init
self.parser = ptpyparser.PtpyParser()
File "C:\Users\alex\PycharmProjects\ptpy\ptpy\p_parser.py", line 704, in init
self._parser = yacc.yacc()
File "C:\Python27\lib\site-packages\ply\yacc.py", line 3214, in yacc
raise YaccError("Unable to build parser")
ply.yacc.YaccError: Unable to build parser
Process finished with exit code 1
Edit:
Tentar executar o pacote de testes(já fixado), resulta no mesmo erro.
The text was updated successfully, but these errors were encountered: