PixoScript - A Lua-inspired scripting language for PixoSpritz game engine
npm install pixoscriptA Lua-inspired scripting language for the PixoSpritz game engine.
- Lua-compatible syntax parsing
- Custom scope and table implementation
- Operator overloading support
- Built-in library functions
``bash`
npm install pixoscript
`javascript
import PixoScript from 'pixoscript';
const script = new PixoScript();
const result = script.execute(
local x = 10
local y = 20
return x + y);`
```
src/
├── index.ts # Main entry point
├── parser.ts # Lua parser
├── Scope.ts # Variable scope management
├── Table.ts # Lua table implementation
├── operators.ts # Operator definitions
├── utils.ts # Utility functions
└── lib/ # Standard library functions