About

DollarScript is a scripting language for the Java VM, best suited to small to medium server-side projects. Please checkout the Manual for a full introduction to DollarScript.

    //Fully working persistent chat server
    var server= socketio://127.0.0.1:8092/bulletin?eventType=chatevent
    var lastMessages= db:circular://messages/tmp/messages10.db?size=10

    var message *= server
    var timestampedMessage := (message + {"timestamp":DATE()})
    timestampedMessage >> lastMessages

    ("chatevent" : timestampedMessage) publish server

    http://127.0.0.1:8091/messages subscribe {
    {"body":all lastMessages, "headers":{"Access-Control-Allow-Origin":"*"}}
    }
    

Get started with DollarScript by downloading the latest (v) release.

The Dollar API is the base of the language and is designed for dynamic programming on the JVM, details can be found here.

The language and API are at an incredibly early stage so don't expect too much, I have released early mainly to get feedback and swap ideas before the language gets too formalized.

Oh, and I'm Neil Ellis, the author of both, I lurk on Twitter so just @mention me and I'll get back to you.







News

subscribe via RSS