In some newer Linux distributions, env python default to Python 3.0. This patch explicitly uses "python2" instead of just "python" for all scripts that use #! Reported-by: Sanchayan Maity <maitysanchayan@gmail.com> Signed-off-by: Jason Lowe-Power <jason@lowepower.com>
Simple examples: calc - Simple calculator classcalc - Simple calculate defined as a class Complex examples ansic - ANSI C grammar from K&R BASIC - A small BASIC interpreter GardenSnake - A simple python-like language yply - Converts Unix yacc files to PLY programs.