Skip to content

gilbert/jsdn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JSDN: JavaScript Diagram Notation

JSDN is a formalized way of visually simulating execution of the JavaScript language. It is both a diagram notation and set of simplified execution rules.

Goals

JSDN is intended to be a tool for teaching not just the JavaScript language, but general Computer Science concepts as well (heap, stack, closures, garbage collection, etc.).

100% accuracy on internals representation is not a goal of JSDN. Consistency and concepts are favored over intricate details such as language performance optimizations. For example, every time a variable is assigned to a new string, in JSDN we say the string is created, even though the string may already exist depending on the JS runtime / interpretor.

Material

  1. Variables and Function Calls
  2. More Function Calls
  3. Functions as Arguments
  4. Closures
  5. Closures 2
  6. Objects in Memory