ngmin is an AngularJS application pre-minifier. The goal is ultimately to use this alongside yeoman and grunt to make developing and building Angular apps fast, easy, and fun. tl;dr Turns this angular.module('whatever').controller('MyCtrl', f... 続きを読む
April 24, 2013. Tags: esprima javascript jstools orion web One of the common refactoring activities is variable renaming. Many respectable IDEs have such a language-aware renaming feature. In some other cases, this is carried out via a simple... 続きを読む
What is It? YUI Modules Explorer automatically discovers the required modules for YUI based projects. It parses JavaScript files using esprima. The project is BSD licensed and contributions are welcome. Why is this project needed? In YUI ever... 続きを読む
April 6, 2013. Tags: esprima javascript jstools web When writing a large JavaScript application, it is quite often that console.log and other debugging statements are sprinkled here and there. Obviously, at one point those extraneous statemen... 続きを読む
CoffeeScript is great. I’m not going to spend any time backing that statement up in this article, but you are free to stop reading if it’s not your cup of tea. My main gripe with CoffeeScript, however, is a small impedance mismatch with the... 続きを読む
Javascript in Slow Motion. for (var i = 0; i < 3; i++) { print("hey " + i); } Link to this code 続きを読む
A simple metacircular AST interpreter for Javascript, written in Coffeescript. Esprima is used for the parser. Installation & Usage npm install esprima ./interpreter.coffee [filename] 続きを読む
In my last post I gave a little overview of sweet.js the hygienic macro system I built over the summer. Today I want to write a little bit about what makes sweet.js possible and why we haven’t really seen a macro system for JavaScript before... 続きを読む
README.md Brushtail Tail call optimisation for JavaScript. Examples example.js: function count(from, to) { if(from >= to) return from; return count(from + 1, to); } console.log(count(0, 1000000)); Is rewritten into: function count(from, to) {... 続きを読む
An Analysis of the Redesign of the CoffeeScript Compiler - YOW2012 続きを読む
An Analysis of the Redesign of the CoffeeScript Compiler - YOW2012 Melbourne 続きを読む
番組の報告 この番組を通報する理由を選んでください。ご報告いただいた内容は48時間以内に確認させていただきます。 お客様が著作権者、またはその代理人としての権限を与えられているか、著作権に基づく独占権により行動する権限を与えられている場合は、著作... 続きを読む
README.md Blanket.js A seamless JavaScript code coverage library. Project home page Philosophy Mechanism Install Configure Use Continuous Integration Roll Your Own Development FAQ Contributors Revision History Philosophy Blanket.js is a code ... 続きを読む
goog.require()を手書きしていいのは小学生まで — Presentation Transcript goog.require()を手書きしていいのは 小学生まで @teppeis 2012/11/08 ありえるミニ勉強会 #4 http://connpass.com/event/1214/ 自己紹介• 佐藤鉄平 @teppeis• サイボウズでkintone... 続きを読む
README.mdEsmorph is a work-in-progress library for ECMAScript (also popularly known as JavaScript) source modification tool. It is also written in ECMAScript. Esmorph depends on Esprima. Esmorph can be used in a web browser: <script src="espr... 続きを読む
Copyright © 2012 GitHub Inc. All slide content and descriptions are owned by their creators. F.A.Q. Terms of Service Privacy Policy 続きを読む
module, contextual keywordで安心ですね. 文頭にもかかわらずkeywordじゃないから, no LineTerminator制限がかかる. parser作者泣かせではあるが, よいこと. これでmoduleの名前がbreak the webしない. 続きを読む
Const なんとかさん関連のツール群というのは以下のようなものです esprima EcmaScript から AST を生成する escodegen AST から EcmaScript を生成する esmangle AST を最適化したり mangling したりする で、esprima とか関連のツール群は Mozilla の Parser ... 続きを読む