Environment setup
A quick overview of the basic environment setup used throughout this course
Get the project source code below, and follow along with the lesson material.
Download Project Source CodeTo set up the project on your local machine, please follow the directions provided in the README.md
file. If you run into any issues with running the project source code, then feel free to reach out to the author in the course's Discord channel.
This lesson preview is part of the Practical Abstract Syntax Trees course and can be unlocked immediately with a \newline Pro subscription or a single-time purchase. Already have access to this course? Log in here.
Get unlimited access to Practical Abstract Syntax Trees, plus 70+ \newline books, guides and courses with the \newline Pro subscription.
[00:00 - 00:12] This lesson quickly covers some of the environment tooling you use throughout the rest of the course. If you're comfortable using replacements, for example yarn instead of NPM, feel free to make those adjustments.
[00:13 - 00:26] This course was created with node version 12 and NPM version 6, however any recent version should be sufficient. A quick way to check your version is to run node-v in your terminal.
[00:27 - 00:37] If you don't already have node in NPM installed, follow the steps for installing them using a node version manager. This allows you to install multiple versions of node and seamlessly switch between different versions.
[00:38 - 00:52] Any editor should be sufficient for this course, however I will be using VS code because it has great TypeScript support. Similarly, any terminal should be sufficient to run the scripts with node such as Iterm2 on Mac or Windows Terminal on Windows.
[00:53 - 01:02] Now that we have a base understanding of ASTs, some of the ecosystem and tools will need, the next lesson will dive into generating ASTs.