chessberry / py-lua-parser Goto Github PK
View Code? Open in Web Editor NEWThis project forked from baurse/py-lua-parser
A Lua parser and AST builder written in Python.
License: MIT License
This project forked from baurse/py-lua-parser
A Lua parser and AST builder written in Python.
License: MIT License
Opening ../FAForever_GitHub/units\XSL0301\XSL0301_script.lua
line 1:0 token recognition error at: 'ï'
line 1:1 token recognition error at: '»'
line 1:2 token recognition error at: '¿'
and
Opening ../FAForever_GitHub/units/UAL0301/UAL0301_script.lua
line 1:0 token recognition error at: 'ï'
line 1:1 token recognition error at: '»'
line 1:2 token recognition error at: '¿'
Doesn't seem to effect anything, still weird though. Might be the BOM as that is a usually hidden string of three characters at the beginning of files? No clue.
Add support for the FAF version of the lua language as specified in https://github.com/FAForever/lua-lang/blob/lua-5.0/HISTORY
The length operator # doesn't exist in the FAF version of the lua code as it was implemented in lua 5.1 according to Jip.
Also I implemented the BOM '#**' as a line comment for now, which should(?) be changed later.
Implemented everything from https://github.com/FAForever/lua-lang/blob/lua-5.0/HISTORY besides "the operator ^ means xor instead of pow" and the BOM mentioned above. Seemingly the ^ operator is used as exponentiation in some lua files though, so I don't know what to think/do with that.
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.