What Is ASnake

ASnake Documentation

Table Of Contents

Summary:

ASnake is a language which compiles to Python source code. This is known as a transpiled language. Like TypeScript for JavaScript, if you're aware of that.

This means you should probably have some understanding of Python before using ASnake. It is not recommended for Python beginners, or those new to programming. I'm not your mom though, so it is up to you, but it will be your responsibility.

ASnake supports Python version 3.4 to a version before the latest version, usually. Depending on what the latest Python version has in store, ASnake may work just fine, or won't support some syntax.

ASnake does not support the converting of Python behavior between versions. So if you use a walrus or a match case and compile to 3.5, it's not going to work. Though ASnake does support the conversion of ASnake specific syntax between versions.

Disclaimer:

This is a project started and mostly maintained by one person. She found it useful enough that she decided to make it available for others, in case others could also find use in it. You may encounter bugs and breaking behavior from the optimizer. This is not a production-ready language you can rely on, but if you have personal projects, it can provide some use. If you encounter bugs, please make me aware of them through the ASnake Discord, or Github.

Okay what now?

  1. If you don't have a Python interpreter or compiler, go get one.

  2. Then install ASnake.

  3. Then go learn ASnake.

  4. Then perhaps look at some examples, to get an idea of how ASnake is commonly used.

  5. Then if you need help any step of the way, go bother people on the ASnake Discord.

Scroll to top