public

Rpg Maker Developers Group

Simple enough for a child, powerful enough for a developer

2 Followers
Preserved forum archive. This topic stores the original first post and locally mirrored RPG Maker Web attachments when available. It is posted by the BMMPlay archive account, not by the original creator.

Original Source

  • Original title: Schach - Parsing
  • Original author:  Masked 
  • Original date: October 5, 2020
  • Source thread: https://forums.rpgmakerweb.com/threads/schach-parsing.128288/
  • Source forum path: Game Development Engines > RPG Maker Javascript Plugins > JS Plugin Releases (RMMZ)

Summary

{ "lightbox_close": "Close", "lightbox_next": "Next", "lightbox_previous": "Previous",

Archived First Post

lsbasi_part7_astprecedence_02.png


Schach - Parsing | v1.1.0 | by Masked​


Introduction

This is a core library for text parsing. This script does not provide any functionality by itself, only functions that ought to be used by other scripts to make sense of generic user input.

For more details on motivation and advantages, see my previous post on it.


Instructions

Please read the online documentation for details on the available functions.

Here goes a quick usage example:

JavaScript:
const { expression, evaluate } = Schach.Parsing.Arithmetic;

const { parsed: expr } = expression().run("#x^4 - log2(#y)")
evaluate(expr, { variables: { x: 5, y: 32 } }) // returns 5^4 - log2(32) = 625 - 5 = 620


Download: Github


Source Code:
Github


License:
Zlib

Downloads / Referenced Files

Log in to download

Log in, then follow the RPG Maker Developers Group to see these download links.

Log in to download

License / Terms Note

License: Zlib

Referenced Images / Attachments

lsbasi_part7_astprecedence_02.png
lsbasi_part7_astprecedence_02.png
Creator Claims / Removal

If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.

#rmmz#plugin-archive

Replies (0)

No replies yet.

0 replies 1 view

Log in to reply.

User Avatar