Math Parser (coded by ByteXenon)


A parsing library for math formulas, originally coded by ByteXenon.

Utilities
8 days ago
2.0 - 2.1
95
Cheats
Owner:
Factory077
Source:
https://github.com/J0ss077/MathParser...
Homepage:
N/A
License:
MIT
Created:
8 days ago
Latest Version:
1.1.0 (8 days ago)
Factorio version:
2.0 - 2.1
Downloaded by:
95 users

A parsing library for math formulas, originally coded by ByteXenon. I decided to port it to Factorio, since it is pretty useful in certain situations, and no one has offered a tool like it before in the mod portal. Check the whole documentation here (it is so extense, that it is actually better/easier to just refer his documentation).

Factorio use example

this is how you import the library.
local MathParser = require("__math-parser__.module")

here a new parser instance is created.
local myParser = MathParser:new()

follow ByteXenon's documentation from here...