SNAPpy LanguageΒΆ

The SNAPpy language is a subset of Python, with a few extensions to better support embedded real-time programming.

Note

Legacy tools like Portal and SNAPbuild support a flavor of SNAPpy based on Python 2. Our current tools (including SNAPcompiler) are based on Python 3. Scripts written to work with Portal or SNAPbuild which rely on Python 2-only syntax will fail to compile w/ SNAPcompiler, and scripts written to work with SNAPcompiler which rely on Python 3-only syntax will fail to compile with Portal and SNAPbuild.

SNAPpy images (SPY files) generated with the legacy tools will continue to work. The SNAPpy VM in SNAPcore has not changed, just the tooling around compiling SNAPpy scripts into SNAPpy images.

Topics