activesys / alpaca-llama Goto Github PK
View Code? Open in Web Editor NEW词法分析和语法分析算法小工具。
词法分析和语法分析算法小工具。
[wb@activesys ~]$ alpaca.py
\h
Traceback (most recent call last):
File "/usr/local/bin/alpaca.py", line 97, in
Alpaca.main()
File "/usr/local/bin/alpaca.py", line 39, in main
Alpaca.translate_regex()
File "/usr/local/bin/alpaca.py", line 52, in translate_regex
regex = Regex(texts[i])
File "/usr/local/lib/python3.2/site-packages/alpacalib/regex.py", line 18, in init
self.rast = SyntaxParser(text).build()
File "/usr/local/lib/python3.2/site-packages/alpacalib/syntax.py", line 19, in build
self.root = self.__parse_regex()
File "/usr/local/lib/python3.2/site-packages/alpacalib/syntax.py", line 29, in __parse_regex
self.token = self.lex.get_token()
File "/usr/local/lib/python3.2/site-packages/alpacalib/lex.py", line 66, in get_token
raise RegexLexError('Regex Lexical Error!')
alpacalib.lex.RegexLexError: Regex Lexical Error!
正确的错误消息应该是一个语法错误消息。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.