Tag Archives for javascript
“Fun example of programming language sc…
“Fun example of programming language scope” is only “fun” for a certain type of geek; But I like programming examples that help explain how your code is interpreted, particularly if the lesson can help prevent a certain class of bug. … Continue reading
JavaScript on the Server, and conversations at TXJS
We’ve seen various attempts at using JavaScript on the server over the last decade. Mozilla’s Rhino (Java) engine fueled most of it. However, with the release of Google’s V8 (C++) engine (and the networking performance example set by Node.js), the … Continue reading
jsmacro 0.2.3
The latest jsmacro (v0.2.3) adds support for “else” clauses to “if”, “ifdef”, and “ifndef” statements. Combine this with the command-line variable definition support and you can now do fun things like this: //@ifdef IE6_BUILD …custom IE6 code here //@else …code … Continue reading
jsmacro 0.2.2
jsmacro 0.2 was a full rewrite (because version 0.2′s are always a full rewrite.) It’s now a little closer to what I was originally thinking. Instead of a line-by-line state machine, the parser now uses regex, and dynamically calls macro-handling … Continue reading
jsmacro — an oddly named JavaScript preprocessor
For awhile now I’ve wanted a JavaScript preprocessor to conditionally include debug and testing code when needed. It’s always registered as merely a “nice to have”, so I hadn’t sought one out. However, I had a little time over the … Continue reading
Thought writing a Lisp interpreter in Ja…
Thought writing a Lisp interpreter in JavaScript would be fun. Beat me to it: http://code.google.com/p/javascript-lisp-interpreter/
New Bookmark
gordon – GitHub (Flash player written in JavaScript) – "An open source Flash runtime written in pure JavaScript." Clever. Has some nice code to read through.
New Bookmark
Perfection kills » Understanding delete – Detailed post on JavaScript's "delete" specification and the implementations found in various browsers. Good read for JS programmers.