#一个纯Lua的excel解析库 在游戏开发中需要建立许多数据表,提供给程序读取配置。一般采用excel表的形式,然后通过某种方式转换为程序使用的数据。
我就写了这么一个纯lua的代码来解析这些数据,当然,这里的excel是另存为xml格式的表格,而不是.xls文件,其内容并不会有什么变化。为什么没用csv逗号分隔格式呢,因为xml支持一个文档中包含多个表格,这样才和xls完全一致。
代码完成度不算100%,因为肯定不会符合你的实际使用情况,最后还是需要你自己修改代码。
一个纯Lua的excel解析库
#一个纯Lua的excel解析库 在游戏开发中需要建立许多数据表,提供给程序读取配置。一般采用excel表的形式,然后通过某种方式转换为程序使用的数据。
我就写了这么一个纯lua的代码来解析这些数据,当然,这里的excel是另存为xml格式的表格,而不是.xls文件,其内容并不会有什么变化。为什么没用csv逗号分隔格式呢,因为xml支持一个文档中包含多个表格,这样才和xls完全一致。
代码完成度不算100%,因为肯定不会符合你的实际使用情况,最后还是需要你自己修改代码。
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.