SapphireScript - A new language to make RMMV plugins!

Khas

Detective lv73
Regular
Joined
Sep 16, 2012
Messages
282
Reaction score
386
First Language
Portuguese
Primarily Uses
RMMV
logo.png

Introduction
SapphireScript is a new scripting language to make RPG Maker MV plugins. It's readable and easy to use, it helps on keeping your codebase organized, and it compiles to javascript using RPG Maker MV conventions. Here's a video where you can see it in action!



How to use
Make sure to watch the installation video and read the User Guide pdf included with the download. In addition, read carefully the ss_guide.ss and study the files in the Example folder.


How to install
There are instructions on how to install SapphireScript on the User Guide pdf, but I recommend to watch the video below:



Download
Before downloading, please understand that SapphireScript is an experiment. It's stable enough and I use it to create all my plugins, but I don't know how people will use it, so you may have some difficulties if you are a beginner in RPG Maker scripting. Anyhow, let me know what you think of it below!

The latest version can be downloaded from my blog.
 

nio kasgami

VampCat
Regular
Joined
May 21, 2013
Messages
9,000
Reaction score
3,129
First Language
French
Primarily Uses
RMMV
@Khas Oh my I love it! I love I love it!
I would like although if it's possible to add some C# Like features as namespace keyword.
I dunno if you know Typescript but it's a Superset of javascript who simplify sometime a lots of jobs!

and I would like to know if you will implement the private, protected, public keywoard? and optionnal typing :)?

if you want I can also test if it's could work with Gulp and etc :)
sorry I ask a lots I am just curious hahahah
 

Khas

Detective lv73
Regular
Joined
Sep 16, 2012
Messages
282
Reaction score
386
First Language
Portuguese
Primarily Uses
RMMV
@nio kasgami thanks! I have designed it to be as close to Ruby as possible, without compromising any js features. And before making this I searched a lot of languages that compile to javascript (actually I got the idea from them haha), but I was afraid of running into problems because of the MV engine's conventions.

Right now the compiler goes line by line checking matches (via regex) for valid expressions. It does not convert each statement separately into a command, so implementing namespaces, typing, private/protected/public access is a bit hard and may not worth it (I'd say most of plugins are simple and wouldn't benefit from this, as the engine itself is simple too). But I appreciate the suggestions! I'll be thinking of ways to improve and make it even better :D
 

Latest Threads

Latest Profile Posts

In twitter, square phoenix had successfully prompted chatgpt to make the mini game watermelon pangpang.

drew some stuff to see how frontview might look. not entirely sold on or off of it yet. "could" work, but something feels missing.
Shower Thoughts: ". . . Scammers would be OP in the Elder Scrolls. They could just get speech 100 and blatantly ask everyone for all of their money, and everyone would think it's a great investment. And then after being robbed blind, they'd say, with a smile on their face, 'need something?' "
Day #2 for advent is compiled. Please, go to their threads to share love! But, if you wanna talk to me…what’s your favorite Christmas carol or holiday song?

Forum statistics

Threads
136,691
Messages
1,268,810
Members
180,403
Latest member
Gremoooroo
Top