Skip to content

drKathyNielsen/js-first-interp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

//run program with node index.js

//test program with npm test

//Steps for unit testing

  1. Load the file, then parse, inspect the Abstract Syntax Tree (AST)

  2. Lets evaluate an variable declaration (log the node.declaration)

  3. Retrieve the variable identifier

  4. Retrieve the variable value

  5. Store the variable in the environment

  6. What if there is a variable in the second node

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors