SapphireScript - A new language to make RMMV plugins!

Khas

Detective lv73
Veteran
Joined
Sep 16, 2012
Messages
282
Reaction score
385
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
Veteran
Joined
May 21, 2013
Messages
8,986
Reaction score
3,119
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
Veteran
Joined
Sep 16, 2012
Messages
282
Reaction score
385
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 Posts

Latest Profile Posts

no longer using rm2k3
Don't you hate when you're trying to sleep and suddenly the smoke detector needs batteries? That's exactly what happened to me. Now I'm sluggish and tired after that darn thing started chirping at 11:30 at night. Man I wish I had one of those smart smoke detectors that sends a message to your phone way before it starts chirping.
Interior of a bus, may do more vehicle interiors :kaoswt2:
1670089782219.png
I can hardly believe it is the third day of Christmas and I have yet to put up decorations! Spending my morning cooking breakfast and getting them up.
https://itch.io/s/83641/1-week-sale Do you want a Roguelike game like a turn-based Hades? Get Zodiac Hunters now while it's on sale!

Forum statistics

Threads
127,014
Messages
1,183,197
Members
166,877
Latest member
Danone_Adventures
Top