Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Coffee-Script Port - JavaScript is too complex and hard to write. #8

Closed
wants to merge 2 commits into from

3 participants

@mephux

Hey guys/gals,

I just spent a few months learning Javascript to contribute to this project and port it successfully to coffee-script. I listed the benefits, design and architectural reasons below.

Reason: None

Thanks,

Mephux

@oelmekki

Wow, that's great ! But we should use backbone.js here, shouldn't we ? backbone.js is cool.

@jacksonwillis

Here is a closer coffeescript port: `;;`, which produces this javascript: ;;;

@alloy alloy referenced this pull request
Open

Introduce SemiScript. #11

@mephux mephux closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 15, 2012
  1. @mephux

    Full rewrite in coffee-script.

    mephux authored
  2. @mephux
This page is out of date. Refresh to see the latest.
Showing with 15 additions and 3 deletions.
  1. +15 −2 README.md
  2. 0  semicolon.coffee
  3. +0 −1  semicolon.js
View
17 README.md
@@ -3,7 +3,20 @@
Semicolon.js is a much more secure, stable and reliable alternative to
<a href="http://vaporjs.com/">Vapor.js</a>.
-## Usage:
+## Dependencies
+
+ * Coffee-Script (http://coffeescript.org/)
+ - Why learn JavaScript? Learn coffee-script to compile down to a language you
+ can't debug or optimise. IT'S HIPSTER!
+
+ * NPM (http://npmjs.org/)
+
+## Instalation
+
+ `npm install -g coffee-script`
+ `coffee -c semicolon.coffee --output semicolon.js`
+
+## Usage:
```html
<script src="semicolon.js"></script>
```
@@ -35,4 +48,4 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
-along with this program. If not, see <http://www.gnu.org/licenses/>.
+along with this program. If not, see <http://www.gnu.org/licenses/>.
View
0  semicolon.coffee
No changes.
View
1  semicolon.js
@@ -1 +0,0 @@
-;
Something went wrong with that request. Please try again.