Variant of coffeescript, written in ruby.
Ruby JavaScript
Permalink
Failed to load latest commit information.
bin Proper CLI Mar 24, 2014
lib
spec
subl
vendor/assets/javascripts Remove debug issues May 4, 2014
.gitignore
.rspec
.travis.yml
DOCS.md
Gemfile
Guardfile Move from Ragel based parser to custom parser Mar 13, 2014
LICENSE.txt
README.md
Rakefile
liquidscript.gemspec

README.md

Liquidscript

Build Status Coverage Status Code Climate Gem Version Dependency Status License

A javascript-based language that compiles to javascript.

Installation

Add this line to your application's Gemfile:

gem 'liquidscript'

And then execute:

$ bundle

Or install it yourself as:

$ gem install liquidscript

If you're using Sprockets in your application, place this in your Gemfile:

gem 'liquidscript', require: 'sprockets/liquidscript'

Usage

To use liquidscript:

TODO: usage example

The language of liquidscript:

# This is an object.

{
  test: "hello",

  # Note here that a single-quoted string does not have an ending
  # delimiter.  This is on purpose.
  foo: 'bar # ' # syntax highlighting fix
}
# This is a function

func = ()-> {
  console.log("hello world")
}

func()

Contributing

  1. Fork it (http://github.com/medcat/liquidscript/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request