Skip to content

current home of Jabs(Javascript Abstract Behavior Syntax), Jass(Javascript Abstrect Spec Syntax), The Lucky7 Ruby/Javascript web framework and continuous builder. All that a few other bad ideas. An early refactor will be to split all the parts into gems.

collin/lucky7

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

## Collin Miller claims authorship!  $$$
##### MIT license for all Earthlings *** 
#### http://www.opensource.org/licenses/mit-license.php ^^^
## Martians and Moonlings pay extra ##

#### Welcome to Lucky7 %%%

Place your bets: Increased odds on outside scrambles.

Try out the specs:
>> rake spec:all

The prettier version:
>> rake spec:doc

What are all the bits?

Some come from the outside world:
  jsspec    - http://jania.pe.kr/aw/moin.cgi/JSSpec
  orbited   - http://orbited.org
  haml/sass - http://haml.hamptoncatlin.com 

We have a little abstraction, Fold, to do preprocessing.
  Haml and Sass inspired Fold. Poorer in features though.

Jabs(javascript abstract behavior syntax)        and
Jass(javascript abstract spec syntax)    follow the Fold.

One might have such a file:
# somespec.html.jass
describe Object
  it has a prototype
    expects(Object).should_have('prototype');

Jass generates
describe("Object", {
  "has a prototype": function() {
    expects(Object.should_hav('prototype');
  }
});

Jass even wraps it in the needed HTML boilerplate for jsspec.

Open up in a browser:
  /lucky7/vendor/js_spec/example.html <-- Jass generated this one.
  /lucky7/vendor/js_spec/demo.html         <-- This one comes with jsspec

Jabs remains more mysterious. Jabs wants to have a nice little MVC
pattern shared between Client and Server code.

Only write your validations in one place, Only specify your models once.

That sort of thing. And a little bit more. Lucky7 reccomends knowing
Javascript and Ruby fairly well.

Oh wait, before we go on to write more code! Let's have something about...

Lucky7::Builder

Luck7 has a continuous builder. It watches your file system for changes and
rebuilds your project as you go. At rebuild time tests can be run. Other things
might happen as well.

Well, there is more about that later. I didn't even explain why Orbited
is right there in the vendor folder. More on that later.

About

current home of Jabs(Javascript Abstract Behavior Syntax), Jass(Javascript Abstrect Spec Syntax), The Lucky7 Ruby/Javascript web framework and continuous builder. All that a few other bad ideas. An early refactor will be to split all the parts into gems.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published