The Neptune Programming Language

Avatar

A Domain Specific Language for the AppScale Cloud Platform

Articles tagged with '0.0.2'

Version 0.0.2 Released!

In the spirit of "release early, release often," Neptune version 0.0.2 has been released! This release adds compilation support, so now you can specify a directory containing a Makefile, and Neptune will copy that directory over to an AppScale node, compile it, and copy it back to a specified folder on your computer. Here's a code snippet:

result = job "compile" do
 @code = "ring"
 @output = "/baz"
 @copy_to = "ring-compiled"
end

puts "out = #{result[:out]}"
puts "err = #{result[:err]}"

So here we have our code in a folder named "ring", would like it to be compiled, and have the result placed in a folder named "ring-compiled". The output parameter doesn't do anything right now, but an upcoming release will optionally store it in the underlying database in AppScale so that you won't be required to keep a copy of it on your computer at all times. Check it out and let us know what you think!