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

10. August 2010 by erik
Tags: , | Leave a comment

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

11. June 2010 by erik
Tags: , , , | 3 comments

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

19. February 2010 by erik
Tags: , , , | 1 comment

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

04. February 2010 by erik
Tags: , , | Leave a comment

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

25. January 2010 by erik
Tags: , , , , | Leave a comment

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/

19. January 2010 by erik
Tags: , , | Leave a comment

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.

13. January 2010 by erik
Tags: , | Leave a comment

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.

11. January 2010 by erik
Tags: , | Leave a comment