Skip to content
/ amp Public

lex/yacc based ampscript compiler to aide SFMC local development and exprimentation

License

Notifications You must be signed in to change notification settings

beau32/amp

Repository files navigation

amp

PLY(lex/yacc) based AMPscript compiler to aide Salesforce Marketing Cloud local development and exprimentation. This tool runs in interpreter and compiler mode. In compiler model, it takes an ampscript file as input, and output python code.

to install

git clone https://github.com/beau32/amp.git
cd amp
pip3 install -r requirement.txt

to launch the intrepeter

python3 amp.py

to launch the compiler and transcode to either javascript or python

python3 amp.py -l js -i codesample.ampscript > output.js

python3 amp.py -l py -i codesample.ampscript > output.py

About

lex/yacc based ampscript compiler to aide SFMC local development and exprimentation

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages