Skip to content

A stupid simple Wren "compiler" to detect compilation errors

License

Notifications You must be signed in to change notification settings

jaybaird/wrench

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

wrench — a silly little Wren "compiler."

This is wrench, a super simple Wren compiler used to detect syntax errors before I run my host applications. Most of the code is borrowed from wren-cli and adapted here for my simple use-case.

Hook it up to Visual Studio Code's RunOnSave extension to check your wren code for compile errors, e.g.

"emeraldwalk.runonsave": {
      "autoClearConsole": true,
      "commands": [
          {
              "match": "\\.wren$",
              "isAsync": true,
              "cmd": "${workspaceFolder}\\tools\\bin\\wrenc.exe ${file}"
          }
      ]
  }

About

A stupid simple Wren "compiler" to detect compilation errors

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages