close
Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

Compiler transforms

An AssemblyScript example of using compiler transforms to hook into the compilation process.

Instructions

  • JavaScript transform
    An ES6 JavaScript transform. Recommended.

  • TypeScript transform
    A transform written in TypeScript. This works currently because the compiler utilizes ts-node anyway, so can as well transpile the transform to ES6.

See package.json on how to utilize the transforms with asc. You may also run

$> npm install
$> npm test

to verify that it works.