Skip to content

mxcl/bs

Repository files navigation

THIS PROJECT IS NO LONGER MAINTAINED.

You may be looking for the newer language by the same name here:

BullScript Build Status

BullScript compiles to Javascript.

Alpha Quality

The test-suite no doubt has holes. So you may have to fix some bugs if you use it at this stage. Development of BS stalled due to other engagements, but when we stopped devleoping it, it was working well!

Examples & Usage

http://mxcl.github.com/bs/

Inline HTML Caveats

You have to cleanly terminate your HTML tags. This is how the parser determines where HTML ends. So if you start with a <div>, end with a </div>. Though having said this, we understand tags like <img> too. Also you can do this:

var a = <div>foo</div>
        <b>blah</b>
var b = 2;

Additionally, (currently) the parser will be confused by JavaScript of this kind:

if (a <bc) { bar(); }

Heck, the above even breaks Sublime Text’s Markdown syntax highlighting.

License

I, Max Howell the copyright holder of this work, hereby release it into the public domain. This applies worldwide.

In case this is not legally possible, I grant any entity the right to use this work for any purpose, without any conditions, unless such conditions are required by law.

About

Write HTML inline with your JS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published