background preloader

AltJS compile-to-JavaScript language list

AltJS compile-to-JavaScript language list
CoffeeScript Family (& Friends) Family (share genes with CoffeeScript) Coco A CoffeeScript dialect that aims to be more radical and practical, also acts as a test bed for features that get imported in CoffeeScript. LiveScript is a fork of Coco that is much more compatible with CoffeeScript, more functional, and with more features.IcedCoffeeScript A CoffeeScript dialect that adds support for await and defer keywords which simplify async control flow.Parsec CoffeeScript CS based on parser combinators. The project's aim is to add static metaprogramming (i.e. macros + syntax extensibility) to Coffee Script (CS), similar to how Metalua adds such features to Lua.

Related:  javascript

About php.js php.js is a resource that offers community-built JavaScript alternatives to PHP functions. Why on earth would you port php to js? to see if we canto learn JavaScriptto help others learn JavaScriptto see how php scripts perform with V8 strapped on their backsto profit from helpful functions like: strip_tags, strtotime, md5, strftime, number_format, wordwrap, vsprintf, and date, that are too high-level for JavaScript. PHP is a language with many high-level functions and while they’re not always implemented as consistently as we’d like (mimicking their underlying C parts), they do get many programming jobs done without the need for additional libraries or abstraction. harmony:specification_drafts This page contains a historical record of working draft of the specification prepared by the project editor. Errors in the current draft should be reported as bugs at Report the version you are reading, and an appropriate “component” (editorial issues, technical issues, etc.).

The Shumway Open SWF Runtime Project Shumway is an experimental web-native runtime implementation of the SWF file format. It is developed as a free and open source project sponsored by Mozilla Research. The project has two main goals: New Tricks in XMLHttpRequest2 Introduction One of the unsung heros in the HTML5 universe is XMLHttpRequest. Strictly speaking XHR2 isn't HTML5. However, it's part of the incremental improvements browser vendors are making to the core platform. ES6 Overview in 350 Bullet Points Apologies about that long table of contents, and here we go. ES6 – also known as Harmony, es-next, ES2015 – is the latest finalized specification of the languageThe ES6 specification was finalized in June 2015, (hence ES2015)Future versions of the specification will follow the ES[YYYY] pattern, e.g ES2016 for ES7Yearly release schedule, features that don’t make the cut take the next trainSince ES6 pre-dates that decision, most of us still call it ES6Starting with ES2016 (ES7), we should start using the ES[YYYY] pattern to refer to newer versionsTop reason for naming scheme is to pressure browser vendors into quickly implementing newest features (back to table of contents)

Config.js – a JavaScript cofiguration library Description Config.js allows developers to configure their applications in an XML block instead of hard-coding values inside their scripts or in JSON objects. The XML can be embedded inside an HTML document or in a separate XML file. The configuration block may contain strings, numbers, arrays and HTML. Furthermore, variables can be inserted into these values, allowing developers to use the XML block as a simple templating system for their applications.

What The Rails Security Issue Means For Your Startup January has been a very bad month for Ruby on Rails developers, with two high-severity security bugs permitting remote code execution found in the framework and a separate-but-related compromise on, a community resource which virtually all Ruby on Rails developers sit downstream of. Many startups use Ruby on Rails. Other startups don’t but, like the Rails community, may one day find themselves asking What Do We Do When Apocalyptically Bad Things Happen On Our Framework of Choice?

Calipers: The Fastest Way to Measure Image Dimensions in Node Every JPG, PNG and PDF file passed to Lob’s Print & Mail API is measured to guarantee that the dimensions of the provided file match the dimensions of the medium. For example, 4.25”x6.25” postcards requires an image of at least 1275 x 1875 pixels, and a PDF document with a page size of 8.5” x 11” is required for letters. A common way to retrieve the dimensions of images and PDFs is to use the premier tool for working with images, ImageMagick’s identify tool. However, dealing with the huge volume of files we receive every day revealed performance issues when using ImageMagick. To improve the performance of our API, we built Calipers, a simple and performant node module for measuring the dimensions of JPG, PNG, and PDF files.

Closure Tools What is the Closure Compiler? The Closure Compiler is a tool for making JavaScript download and run faster. Instead of compiling from a source language to machine code, it compiles from JavaScript to better JavaScript. It parses your JavaScript, analyzes it, removes dead code and rewrites and minimizes what's left. JSLint JSLint is a static code analysis tool used in software development for checking if JavaScript source code complies with coding rules. It is provided primarily as an online tool, but there are also command-line adaptations.[1] It was developed by Douglas Crockford. License[edit] The JSLint license[2] is a derivative of the MIT License.[3] The sole modification is the addition of "The Software shall be used for Good, not Evil." According to the Free Software Foundation, this clause makes the license nonfree.[4] The clause has also prevented JSLint-related software from being hosted on Google Code[3] and from being included in the Debian free software package repositories.[5] Because of this restriction, according to Crockford, IBM asked Crockford for a license to do evil, such that their customers could use it.[6][7]

JavaScript JavaScript is classified as a prototype-based scripting language with dynamic typing and first-class functions. This mix of features makes it a multi-paradigm language, supporting object-oriented,[6] imperative, and functional[1][7] programming styles. JavaScript has been standardized in the ECMAScript language specification. History[edit] Beginnings at Netscape[edit]

ECMAScript History[edit] JavaScript was originally developed by Brendan Eich of Netscape under the name Mocha, later LiveScript, and finally renamed to JavaScript.[1] In December 1995, Sun Microsystems and Netscape announced JavaScript in a press release.[2] In March 1996, Netscape Navigator 2.0 was released, featuring support for JavaScript. Owing to the widespread success of JavaScript as a client-side scripting language for web pages, Microsoft developed a compatible dialect of the language, naming it JScript to avoid trademark issues. JScript added new date methods to fix the non-Y2K-friendly methods in JavaScript, which were based on the Java Date class.[3] JScript was included in Internet Explorer 3.0, released in August 1996. Netscape delivered JavaScript to Ecma International for standardization and the work on the specification, ECMA-262, began in November 1996.[4] The first edition of ECMA-262 was adopted by the Ecma General Assembly of June 1997. Versions[edit]