/jgular.js

Reinventing the wheel, building angular.js from scratch

Primary LanguageJavaScript

The goal here is to apply what I learned from the book Build Your Own Angular, to build my very own yet another JavaScript framework, wait for it...jgular.js!!!

Features implemented so far

  • Basic dirty-checking system in terms of $watch and $digest.
  • Several scope methods ($eval, $apply, $evalAsync and $applyAsync) that can access scopes to evaluate code and to cause dirty-checking to be triggered.
  • Expression parser (with Lexing, AST building, and AST compilation) that turns expression strings into functions.