Skip to content

Dev Container environment for Cool lang compiler development

Notifications You must be signed in to change notification settings

Netz00/Cool-compiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cool-compiler Boilerplate

Usage:

  1. For Dev Containers installation checkout here.

  2. Clone the repo git clone ...

  3. Open directory inside VS Code

  4. Select option Reopen in Container, or press CTRL+Shift+P and find action manualy.

  5. If using macOS and Linux/Unix skip this step (5), only for Windows users

    • Open new terminal inside VS Code (container terminal) and type git reset HEAD --hard
    • Explaination: if you are using Windows maching, after git clone command, git will convert all files EOF from LF to CRLF, which needs to be reverted in order to work inside Linux container
  6. In order to check if everything is cool, open terminal inside VS Code and execute the following:

    cd lexer
    make lexer
    ./lexer test.cl
    

👉 If no error occurs continue with teacher instructions.

FAQ

Permission error after pasting new files?

sudo chown -R $USER:$USER <new_file>

About

Dev Container environment for Cool lang compiler development

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published