Skip to content
This repository has been archived by the owner on Apr 8, 2020. It is now read-only.

alicerunsonfedora/ocellusscript

Repository files navigation

OcellusScript logo

OcellusScript

MPL Java CI with Gradle

OcellusScript is a simple multi-paradigm programming language modeled after Java and Haskell while combining features from other languages like Kotlin, Swift, Python, and JavaScript. Although designed specifically for the Unscripted visual novel, this language can be used separately with JVM and WebAssembly.

⚠️ This project has been deprecated in favor of Fira, the minigame engine for Unscripted with API support.

Quick Links

Repository Contents

This project repository contains the following subprojects:

  • The NOC compiler for OcellusScript, implemented in Kotlin
  • The Visual Studio Code extension with language syntax support
  • The TextMate language bundle with language syntax support
  • The brand logos and color palette

Example Code

# Either use OcellusScript functionally...
func mult takes Integer and Integer returns Integer;
```Multiply two numbers together.```
func mult = (x, y) => (x * y);

# Or use it the object-oriented style!
class Example = {
    private var test = "world";

    func init takes String returns Example;
    func init = (t) => {
        self.test = t;
        return self;
    };

    func hello takes Example returns String;
    func hello = (self) => "Hello, " + self.test + "!";
}

Submit a proposal

If you wish to make a proposal to add a feature to OcellusScript, feel free to write one on YouTrack. Submit a proposal ›

About

A simple multi-paradigm, Haskell/Java-inspired programming language

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages