Full documentation at http://sillelien.github.io/dollar and the manual is at http://sillelien.github.io/dollar/manual/
Dollar is a light-weight scripting language for the JVM. More specifically it is an integration centric, reactive dynamic programming language.
It is currently being built for the needs of server-side developers and Java developers in general who need to produce quick prototypes or write simple scripts. Furthermore it is an internet centric language where JSON and URIs are first class citizens.
The language is currently in early but active development.
I'm also working full-time on this, if you wish to support my efforts then please back me on Patreon:
And/or star the project on GitHub.
Thanks!
Example to find out your local air quality:
//First we get the Geo Location of our IP address
var geo= read http://freegeoip.net/json/
var lat= geo.latitude
var lon= geo.longitude
var quality= read ("https://api.openaq.org/v1/measurements?radius=10000&limit=5&coordinates="+ lat + "," + lon) as URI;
//Now output the quality from each result
quality.results each {
@@ $1.location
@@ $1.parameter +" was "+ $1.value + " " + $1["unit"] +" on " + $1.date.utc
}
Learn more at http://sillelien.github.io/dollar.
Download the distribution then run the following in your shell:
tar -zxvf dollar-0.4.5195.tgz
To use dollar:
./dollar/bin/dollar <filename>.ds
Documentation is at http://sillelien.github.io/dollar.
Q&A: https://gitq.com/sillelien/dollar
The artifacts used to build the Dollar project can be accessed using
<repositories>
<repository>
<id>dollar-s3-release-repo</id>
<name>S3 Release Repository for component1</name>
<url>s3://dollar-repo/release</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
and
<dependency>
<groupId>com.sillelien</groupId>
<artifactId>dollar-xxx</artifactId>
<version>0.4.5195</version>
</dependency>
There is a docker image, but it is in it's infancy so better to work with the distribution for now.
docker run -v $HOME/.github:/root/.github -v $HOME/.dollar:/root/.dollar -v $(pwd):/build -it sillelien/dollarscript-headless:0.4 <filename>.ds
http://www.drdobbs.com/architecture-and-design/so-you-want-to-write-your-own-language/240165488
https://www.youtube.com/watch?v=Sg4U4r_AgJU
https://martinfowler.com/bliki/Lambda.html
https://github.com/tonsky/FiraCode
If you use this project please consider giving us a star on GitHub.
Please contact me through Gitter (chat) or through GitHub Issues.
For commercial support please contact me directly.
This is an open source project, which means that we are giving our time to you for free. However like yourselves, we do have bills to pay. Please consider visiting some of these excellent services, they are not junk we can assure you, all services we would or do use ourselves.
Really Excellent Dedicated Servers from Limestone Networks - fantastic service, great price.
Low Cost and High Quality Cloud Hosting from Digital Ocean - truly awesome service.
(c) 2014-2017 Neil Ellis all rights reserved. Please see LICENSE for license details of this project. Please visit http://neilellis.me for help and raise issues on GitHub.
For commercial support please ✉ contact me directly.