├── .github └── workflows │ └── ci.yml ├── .gitignore ├── LICENSE.txt ├── Makefile ├── README.md ├── docs ├── .gitignore ├── .vuepress │ ├── components │ │ └── PyxellPlayground.vue │ ├── config.js │ ├── mixins │ │ └── scroll-fix.js │ ├── plugins │ │ └── version.js │ ├── styles │ │ ├── index.styl │ │ └── palette.styl │ ├── theme │ │ ├── index.js │ │ └── layouts │ │ │ └── Layout.vue │ └── utils │ │ └── pyxell-syntax.js ├── Makefile ├── index.md ├── manual.md ├── package-lock.json ├── package.json ├── playground.md ├── requirements.txt ├── server.py ├── specification.md └── why-pyxell.md ├── lib ├── base.hpp ├── indy256 │ ├── INFO.md │ ├── bigint.h │ └── fft.h ├── math.px ├── random.px ├── std.px └── tsl │ ├── INFO.md │ ├── ordered_hash.h │ ├── ordered_map.h │ └── ordered_set.h ├── pyxell.py ├── src ├── codegen.py ├── errors.py ├── indentation.py ├── lexer.py ├── main.py ├── parser.py ├── transpiler.py ├── types.py ├── utils.py └── values.py ├── test.py ├── test ├── bad │ ├── arrays │ │ ├── array01.err │ │ ├── array01.px │ │ ├── array02.err │ │ ├── array02.px │ │ ├── array03.err │ │ ├── array03.px │ │ ├── array04.err │ │ ├── array04.px │ │ ├── array05.err │ │ ├── array05.px │ │ ├── array06.err │ │ ├── array06.px │ │ ├── cmp01.err │ │ ├── cmp01.px │ │ ├── cmp02.err │ │ ├── cmp02.px │ │ ├── cmp03.err │ │ ├── cmp03.px │ │ ├── comprehension01.err │ │ ├── comprehension01.px │ │ ├── comprehension02.err │ │ ├── comprehension02.px │ │ ├── comprehension03.err │ │ ├── comprehension03.px │ │ ├── comprehension04.err │ │ ├── comprehension04.px │ │ ├── comprehension05.err │ │ ├── comprehension05.px │ │ ├── comprehension06.err │ │ ├── comprehension06.px │ │ ├── comprehension07.err │ │ ├── comprehension07.px │ │ ├── comprehension08.err │ │ ├── comprehension08.px │ │ ├── comprehension09.err │ │ ├── comprehension09.px │ │ ├── comprehension10.err │ │ ├── comprehension10.px │ │ ├── comprehension11.err │ │ ├── comprehension11.px │ │ ├── comprehension12.err │ │ ├── comprehension12.px │ │ ├── comprehension13.err │ │ ├── comprehension13.px │ │ ├── comprehension14.err │ │ ├── comprehension14.px │ │ ├── comprehension15.err │ │ ├── comprehension15.px │ │ ├── decl01.err │ │ ├── decl01.px │ │ ├── decl02.err │ │ ├── decl02.px │ │ ├── decl03.err │ │ ├── decl03.px │ │ ├── decl04.err │ │ ├── decl04.px │ │ ├── decl05.err │ │ ├── decl05.px │ │ ├── decl06.err │ │ ├── decl06.px │ │ ├── decl07.err │ │ ├── decl07.px │ │ ├── decl08.err │ │ ├── decl08.px │ │ ├── empty01.err │ │ ├── empty01.px │ │ ├── empty02.err │ │ ├── empty02.px │ │ ├── op01.err │ │ ├── op01.px │ │ ├── print01.err │ │ ├── print01.px │ │ ├── range01.err │ │ ├── range01.px │ │ ├── range02.err │ │ ├── range02.px │ │ ├── range03.err │ │ ├── range03.px │ │ ├── range04.err │ │ ├── range04.px │ │ ├── range05.err │ │ ├── range05.px │ │ ├── range06.err │ │ ├── range06.px │ │ ├── slice01.err │ │ ├── slice01.px │ │ ├── slice02.err │ │ ├── slice02.px │ │ ├── slice03.err │ │ ├── slice03.px │ │ ├── slice04.err │ │ ├── slice04.px │ │ ├── slice05.err │ │ ├── slice05.px │ │ ├── spread01.err │ │ ├── spread01.px │ │ ├── spread02.err │ │ ├── spread02.px │ │ ├── spread03.err │ │ ├── spread03.px │ │ ├── spread04.err │ │ ├── spread04.px │ │ ├── spread05.err │ │ ├── spread05.px │ │ ├── spread06.err │ │ ├── spread06.px │ │ ├── spread07.err │ │ └── spread07.px │ ├── basic │ │ ├── assg01.err │ │ ├── assg01.px │ │ ├── assg02.err │ │ ├── assg02.px │ │ ├── assg03.err │ │ ├── assg03.px │ │ ├── assg04.err │ │ ├── assg04.px │ │ ├── assg05.err │ │ ├── assg05.px │ │ ├── assg06.err │ │ ├── assg06.px │ │ ├── assg07.err │ │ ├── assg07.px │ │ ├── bool01.err │ │ ├── bool01.px │ │ ├── bool02.err │ │ ├── bool02.px │ │ ├── bool03.err │ │ ├── bool03.px │ │ ├── cmp01.err │ │ ├── cmp01.px │ │ ├── cmp02.err │ │ ├── cmp02.px │ │ ├── comment01.err │ │ ├── comment01.px │ │ ├── cond01.err │ │ ├── cond01.px │ │ ├── cond02.err │ │ ├── cond02.px │ │ ├── cond03.err │ │ ├── cond03.px │ │ ├── decl01.err │ │ ├── decl01.px │ │ ├── decl02.err │ │ ├── decl02.px │ │ ├── decl03.err │ │ ├── decl03.px │ │ ├── decl04.err │ │ ├── decl04.px │ │ ├── decl05.err │ │ ├── decl05.px │ │ ├── indent01.err │ │ ├── indent01.px │ │ ├── indent02.err │ │ ├── indent02.px │ │ ├── indent03.err │ │ ├── indent03.px │ │ ├── indent04.err │ │ ├── indent04.px │ │ ├── indent05.err │ │ ├── indent05.px │ │ ├── indent06.err │ │ ├── indent06.px │ │ ├── name01.err │ │ ├── name01.px │ │ ├── name02.err │ │ ├── name02.px │ │ ├── placeholder01.err │ │ ├── placeholder01.px │ │ ├── placeholder02.err │ │ ├── placeholder02.px │ │ ├── placeholder03.err │ │ ├── placeholder03.px │ │ ├── print01.err │ │ ├── print01.px │ │ ├── print02.err │ │ ├── print02.px │ │ ├── print03.err │ │ ├── print03.px │ │ ├── type01.err │ │ ├── type01.px │ │ ├── type02.err │ │ ├── type02.px │ │ ├── type03.err │ │ ├── type04.err │ │ ├── type05.err │ │ ├── type06.err │ │ ├── type07.err │ │ ├── var01.err │ │ ├── var01.px │ │ ├── var02.err │ │ ├── var02.px │ │ ├── var03.err │ │ └── var03.px │ ├── classes │ │ ├── abstract01.err │ │ ├── abstract01.px │ │ ├── abstract02.err │ │ ├── abstract02.px │ │ ├── cmp01.err │ │ ├── cmp01.px │ │ ├── cmp02.err │ │ ├── cmp02.px │ │ ├── constructor01.err │ │ ├── constructor01.px │ │ ├── constructor02.err │ │ ├── constructor02.px │ │ ├── constructor03.err │ │ ├── constructor03.px │ │ ├── constructor04.err │ │ ├── constructor04.px │ │ ├── constructor05.err │ │ ├── constructor05.px │ │ ├── constructor06.err │ │ ├── constructor06.px │ │ ├── constructor07.err │ │ ├── constructor07.px │ │ ├── destructor01.err │ │ ├── destructor01.px │ │ ├── destructor02.err │ │ ├── destructor02.px │ │ ├── destructor03.err │ │ ├── destructor03.px │ │ ├── inheritance01.err │ │ ├── inheritance01.px │ │ ├── inheritance02.err │ │ ├── inheritance02.px │ │ ├── inheritance03.err │ │ ├── inheritance03.px │ │ ├── inheritance04.err │ │ ├── inheritance04.px │ │ ├── inheritance05.err │ │ ├── inheritance05.px │ │ ├── method01.err │ │ ├── method01.px │ │ ├── method02.err │ │ ├── method02.px │ │ ├── method03.err │ │ ├── method03.px │ │ ├── method04.err │ │ ├── method04.px │ │ ├── method05.err │ │ ├── method05.px │ │ ├── method06.err │ │ ├── method06.px │ │ ├── method07.err │ │ ├── method07.px │ │ ├── method08.err │ │ ├── method08.px │ │ ├── name01.err │ │ ├── name01.px │ │ ├── name02.err │ │ ├── name02.px │ │ ├── name03.err │ │ ├── name03.px │ │ ├── name04.err │ │ ├── name04.px │ │ ├── name05.err │ │ ├── name05.px │ │ ├── nested01.err │ │ ├── nested01.px │ │ ├── print01.err │ │ ├── print01.px │ │ ├── print02.err │ │ ├── print02.px │ │ ├── print03.err │ │ ├── print03.px │ │ ├── print04.err │ │ ├── print04.px │ │ ├── struct01.err │ │ ├── struct01.px │ │ ├── struct02.err │ │ ├── struct02.px │ │ ├── struct03.err │ │ ├── struct03.px │ │ ├── struct04.err │ │ ├── struct04.px │ │ ├── struct05.err │ │ ├── struct05.px │ │ ├── struct06.err │ │ ├── struct06.px │ │ ├── struct07.err │ │ ├── struct07.px │ │ ├── struct08.err │ │ ├── struct08.px │ │ ├── struct09.err │ │ ├── struct09.px │ │ ├── struct10.err │ │ ├── struct10.px │ │ ├── struct11.err │ │ ├── struct11.px │ │ ├── super01.err │ │ ├── super01.px │ │ ├── super02.err │ │ ├── super02.px │ │ ├── super03.err │ │ ├── super03.px │ │ ├── super04.err │ │ ├── super04.px │ │ ├── super05.err │ │ ├── super05.px │ │ ├── type01.err │ │ ├── type01.px │ │ ├── type02.err │ │ ├── type02.px │ │ ├── type03.err │ │ ├── type03.px │ │ ├── type04.err │ │ ├── type04.px │ │ ├── type05.err │ │ ├── type05.px │ │ ├── type06.err │ │ ├── type06.px │ │ ├── type07.err │ │ └── type07.px │ ├── dictionaries │ │ ├── cmp01.err │ │ ├── cmp01.px │ │ ├── cmp02.err │ │ ├── cmp02.px │ │ ├── cmp03.err │ │ ├── cmp03.px │ │ ├── comprehension01.err │ │ ├── comprehension01.px │ │ ├── comprehension02.err │ │ ├── comprehension02.px │ │ ├── comprehension03.err │ │ ├── comprehension03.px │ │ ├── comprehension04.err │ │ ├── comprehension04.px │ │ ├── decl01.err │ │ ├── decl01.px │ │ ├── decl02.err │ │ ├── decl02.px │ │ ├── decl03.err │ │ ├── decl03.px │ │ ├── decl04.err │ │ ├── decl04.px │ │ ├── decl05.err │ │ ├── decl05.px │ │ ├── dict01.err │ │ ├── dict01.px │ │ ├── dict02.err │ │ ├── dict02.px │ │ ├── dict03.err │ │ ├── dict03.px │ │ ├── dict04.err │ │ ├── dict04.px │ │ ├── dict05.err │ │ ├── dict05.px │ │ ├── dict06.err │ │ ├── dict06.px │ │ ├── dict07.err │ │ ├── dict07.px │ │ ├── op01.err │ │ ├── op01.px │ │ ├── print01.err │ │ ├── print01.px │ │ ├── range01.err │ │ ├── range01.px │ │ ├── range02.err │ │ ├── range02.px │ │ ├── range03.err │ │ ├── range03.px │ │ ├── spread01.err │ │ ├── spread01.px │ │ ├── spread02.err │ │ ├── spread02.px │ │ ├── spread03.err │ │ ├── spread03.px │ │ ├── spread04.err │ │ └── spread04.px │ ├── functions │ │ ├── args01.err │ │ ├── args01.px │ │ ├── args02.err │ │ ├── args02.px │ │ ├── args03.err │ │ ├── args03.px │ │ ├── args04.err │ │ ├── args04.px │ │ ├── call01.err │ │ ├── call01.px │ │ ├── call02.err │ │ ├── call02.px │ │ ├── call03.err │ │ ├── call03.px │ │ ├── call04.err │ │ ├── call04.px │ │ ├── call05.err │ │ ├── call05.px │ │ ├── call06.err │ │ ├── call06.px │ │ ├── call07.err │ │ ├── call07.px │ │ ├── call08.err │ │ ├── call08.px │ │ ├── call09.err │ │ ├── call09.px │ │ ├── call10.err │ │ ├── call10.px │ │ ├── call11.err │ │ ├── call11.px │ │ ├── cmp01.err │ │ ├── cmp01.px │ │ ├── name01.err │ │ ├── name01.px │ │ ├── name02.err │ │ ├── name02.px │ │ ├── name03.err │ │ ├── name03.px │ │ ├── name04.err │ │ ├── name04.px │ │ ├── nested01.err │ │ ├── nested01.px │ │ ├── nested02.err │ │ ├── nested02.px │ │ ├── placeholder01.err │ │ ├── placeholder01.px │ │ ├── print01.err │ │ ├── print01.px │ │ ├── print02.err │ │ ├── print02.px │ │ ├── return01.err │ │ ├── return01.px │ │ ├── return02.err │ │ ├── return02.px │ │ ├── return03.err │ │ ├── return03.px │ │ ├── return04.err │ │ ├── return04.px │ │ ├── return05.err │ │ ├── return05.px │ │ ├── type01.err │ │ ├── type01.px │ │ ├── type02.err │ │ ├── type02.px │ │ ├── type03.err │ │ ├── type03.px │ │ ├── type04.err │ │ ├── type04.px │ │ ├── type05.err │ │ ├── type05.px │ │ ├── type06.err │ │ ├── type06.px │ │ ├── type07.err │ │ ├── type07.px │ │ ├── type08.err │ │ ├── type08.px │ │ ├── type09.err │ │ ├── type09.px │ │ ├── type10.err │ │ ├── type10.px │ │ ├── variadic01.err │ │ ├── variadic01.px │ │ ├── variadic02.err │ │ ├── variadic02.px │ │ ├── variadic03.err │ │ ├── variadic03.px │ │ ├── variadic04.err │ │ ├── variadic04.px │ │ ├── variadic05.err │ │ ├── variadic05.px │ │ ├── variadic06.err │ │ ├── variadic06.px │ │ ├── variadic07.err │ │ ├── variadic07.px │ │ ├── variadic08.err │ │ ├── variadic08.px │ │ ├── variadic09.err │ │ ├── variadic09.px │ │ ├── void01.err │ │ ├── void01.px │ │ ├── void02.err │ │ ├── void02.px │ │ ├── void03.err │ │ ├── void03.px │ │ ├── void04.err │ │ ├── void04.px │ │ ├── void05.err │ │ └── void05.px │ ├── generators │ │ ├── generator01.err │ │ ├── generator01.px │ │ ├── generator02.err │ │ ├── generator02.px │ │ ├── generator03.err │ │ ├── generator03.px │ │ ├── generic01.err │ │ ├── generic01.px │ │ ├── generic02.err │ │ ├── generic02.px │ │ ├── generic03.err │ │ ├── generic03.px │ │ ├── generic04.err │ │ ├── generic04.px │ │ ├── generic05.err │ │ ├── generic05.px │ │ ├── iterable01.err │ │ ├── iterable01.px │ │ ├── iterable02.err │ │ ├── iterable02.px │ │ ├── iterable03.err │ │ ├── iterable03.px │ │ ├── lambda01.err │ │ ├── lambda01.px │ │ ├── nested01.err │ │ ├── nested01.px │ │ ├── nested02.err │ │ ├── nested02.px │ │ ├── nested03.err │ │ ├── nested03.px │ │ ├── print01.err │ │ ├── print01.px │ │ ├── print02.err │ │ ├── print02.px │ │ ├── type01.err │ │ ├── type01.px │ │ ├── type02.err │ │ ├── type02.px │ │ ├── type03.err │ │ ├── type03.px │ │ ├── type04.err │ │ ├── type04.px │ │ ├── void01.err │ │ ├── void01.px │ │ ├── void02.err │ │ ├── void02.px │ │ ├── void03.err │ │ ├── void03.px │ │ ├── void04.err │ │ ├── void04.px │ │ ├── void05.err │ │ ├── void05.px │ │ ├── void06.err │ │ ├── void06.px │ │ ├── yield01.err │ │ ├── yield01.px │ │ ├── yield02.err │ │ └── yield02.px │ ├── generics │ │ ├── call01.err │ │ ├── call01.px │ │ ├── call02.err │ │ ├── call02.px │ │ ├── call03.err │ │ ├── call03.px │ │ ├── call04.err │ │ ├── call04.px │ │ ├── call05.err │ │ ├── call05.px │ │ ├── call06.err │ │ ├── call06.px │ │ ├── call07.err │ │ ├── call07.px │ │ ├── call08.err │ │ ├── call08.px │ │ ├── call09.err │ │ ├── call09.px │ │ ├── def01.err │ │ ├── def01.px │ │ ├── def02.err │ │ ├── def02.px │ │ ├── def03.err │ │ ├── def03.px │ │ ├── def04.err │ │ ├── def04.px │ │ ├── def05.err │ │ ├── def05.px │ │ ├── def06.err │ │ ├── def06.px │ │ ├── def07.err │ │ ├── def07.px │ │ ├── def08.err │ │ ├── def08.px │ │ ├── def09.err │ │ ├── def09.px │ │ ├── def10.err │ │ ├── def10.px │ │ ├── def11.err │ │ ├── def11.px │ │ ├── implicit01.err │ │ ├── implicit01.px │ │ ├── implicit02.err │ │ ├── implicit02.px │ │ ├── implicit03.err │ │ ├── implicit03.px │ │ ├── method01.err │ │ ├── method01.px │ │ ├── method02.err │ │ ├── method02.px │ │ ├── method03.err │ │ ├── method03.px │ │ ├── nested01.err │ │ ├── nested01.px │ │ ├── print01.err │ │ ├── print01.px │ │ ├── print02.err │ │ ├── print02.px │ │ ├── print03.err │ │ ├── print03.px │ │ ├── print04.err │ │ ├── print04.px │ │ ├── type01.err │ │ ├── type01.px │ │ ├── type02.err │ │ ├── type02.px │ │ ├── type03.err │ │ ├── type03.px │ │ ├── type04.err │ │ ├── type04.px │ │ ├── type05.err │ │ ├── type05.px │ │ ├── type06.err │ │ ├── type06.px │ │ ├── type07.err │ │ ├── type07.px │ │ ├── type08.err │ │ ├── type08.px │ │ ├── type09.err │ │ ├── type09.px │ │ ├── type10.err │ │ ├── type10.px │ │ ├── type11.err │ │ ├── type11.px │ │ ├── variadic01.err │ │ ├── variadic01.px │ │ ├── void01.err │ │ ├── void01.px │ │ ├── void02.err │ │ ├── void02.px │ │ ├── void03.err │ │ └── void03.px │ ├── lambdas │ │ ├── call01.err │ │ ├── call01.px │ │ ├── call02.err │ │ ├── call02.px │ │ ├── call03.err │ │ ├── call03.px │ │ ├── call04.err │ │ ├── call04.px │ │ ├── call05.err │ │ ├── call05.px │ │ ├── call06.err │ │ ├── call06.px │ │ ├── lambda01.err │ │ ├── lambda01.px │ │ ├── lambda02.err │ │ ├── lambda02.px │ │ ├── lambda03.err │ │ ├── lambda03.px │ │ ├── lambda04.err │ │ ├── lambda04.px │ │ ├── lambda05.err │ │ ├── lambda05.px │ │ ├── lambda06.err │ │ ├── lambda06.px │ │ ├── lambda07.err │ │ ├── lambda07.px │ │ ├── lambda08.err │ │ ├── lambda08.px │ │ ├── lambda09.err │ │ ├── lambda09.px │ │ ├── lambda10.err │ │ ├── lambda10.px │ │ ├── partial01.err │ │ ├── partial01.px │ │ ├── partial02.err │ │ ├── partial02.px │ │ ├── var01.err │ │ ├── var01.px │ │ ├── var02.err │ │ └── var02.px │ ├── loops │ │ ├── break01.err │ │ ├── break01.px │ │ ├── continue01.err │ │ ├── continue01.px │ │ ├── else01.err │ │ ├── else01.px │ │ ├── else02.err │ │ ├── else02.px │ │ ├── else03.err │ │ ├── else03.px │ │ ├── else04.err │ │ ├── else04.px │ │ ├── for01.err │ │ ├── for01.px │ │ ├── for02.err │ │ ├── for02.px │ │ ├── for03.err │ │ ├── for03.px │ │ ├── for04.err │ │ ├── for04.px │ │ ├── for05.err │ │ ├── for05.px │ │ ├── for06.err │ │ ├── for06.px │ │ ├── for07.err │ │ ├── for07.px │ │ ├── for08.err │ │ ├── for08.px │ │ ├── for09.err │ │ ├── for09.px │ │ ├── for10.err │ │ ├── for10.px │ │ ├── for11.err │ │ ├── for11.px │ │ ├── for12.err │ │ ├── for12.px │ │ ├── for13.err │ │ ├── for13.px │ │ ├── for14.err │ │ ├── for14.px │ │ ├── for15.err │ │ ├── for15.px │ │ ├── for16.err │ │ ├── for16.px │ │ ├── for17.err │ │ ├── for17.px │ │ ├── for18.err │ │ ├── for18.px │ │ ├── for19.err │ │ ├── for19.px │ │ ├── for20.err │ │ ├── for20.px │ │ ├── for21.err │ │ ├── for21.px │ │ ├── for22.err │ │ ├── for22.px │ │ ├── for23.err │ │ ├── for23.px │ │ ├── label01.err │ │ ├── label01.px │ │ ├── label02.err │ │ ├── label02.px │ │ ├── range01.err │ │ ├── range01.px │ │ ├── spread01.err │ │ ├── spread01.px │ │ ├── until01.err │ │ ├── until01.px │ │ ├── until02.err │ │ ├── until02.px │ │ ├── while01.err │ │ ├── while01.px │ │ ├── while02.err │ │ └── while02.px │ ├── modules │ │ ├── attr01.err │ │ ├── attr01.px │ │ ├── attr02.err │ │ ├── attr02.px │ │ ├── use01.err │ │ ├── use01.px │ │ ├── use02.err │ │ ├── use02.px │ │ ├── use03.err │ │ ├── use03.px │ │ ├── use04.err │ │ └── use04.px │ ├── nullables │ │ ├── cmp01.err │ │ ├── cmp01.px │ │ ├── cmp02.err │ │ ├── cmp02.px │ │ ├── cmp03.err │ │ ├── cmp03.px │ │ ├── nullable01.err │ │ ├── nullable01.px │ │ ├── nullable02.err │ │ ├── nullable02.px │ │ ├── nullable03.err │ │ ├── nullable03.px │ │ ├── nullable04.err │ │ ├── nullable04.px │ │ ├── nullable05.err │ │ ├── nullable05.px │ │ ├── nullable06.err │ │ ├── nullable06.px │ │ ├── op01.err │ │ ├── op01.px │ │ ├── op02.err │ │ ├── op02.px │ │ ├── op03.err │ │ ├── op03.px │ │ ├── op04.err │ │ ├── op04.px │ │ ├── op05.err │ │ ├── op05.px │ │ ├── op06.err │ │ ├── op06.px │ │ ├── op07.err │ │ ├── op07.px │ │ ├── op08.err │ │ ├── op08.px │ │ ├── op09.err │ │ ├── op09.px │ │ ├── op10.err │ │ ├── op10.px │ │ ├── op11.err │ │ ├── op11.px │ │ ├── op12.err │ │ ├── op12.px │ │ ├── op13.err │ │ ├── op13.px │ │ ├── op14.err │ │ ├── op14.px │ │ ├── op15.err │ │ ├── op15.px │ │ ├── op16.err │ │ ├── op16.px │ │ ├── op17.err │ │ ├── op17.px │ │ ├── op18.err │ │ ├── op18.px │ │ ├── print01.err │ │ └── print01.px │ ├── numbers │ │ ├── attr01.err │ │ ├── attr01.px │ │ ├── float01.err │ │ ├── float01.px │ │ ├── int01.err │ │ ├── int01.px │ │ ├── int02.err │ │ ├── int02.px │ │ ├── int03.err │ │ ├── int03.px │ │ ├── int04.err │ │ ├── int04.px │ │ ├── int05.err │ │ ├── int05.px │ │ ├── int06.err │ │ ├── int06.px │ │ ├── int07.err │ │ ├── int07.px │ │ ├── int08.err │ │ └── int08.px │ ├── sets │ │ ├── cmp01.err │ │ ├── cmp01.px │ │ ├── cmp02.err │ │ ├── cmp02.px │ │ ├── comprehension01.err │ │ ├── comprehension01.px │ │ ├── decl01.err │ │ ├── decl01.px │ │ ├── decl02.err │ │ ├── decl02.px │ │ ├── op01.err │ │ ├── op01.px │ │ ├── op02.err │ │ ├── op02.px │ │ ├── op03.err │ │ ├── op03.px │ │ ├── range01.err │ │ ├── range01.px │ │ ├── set01.err │ │ ├── set01.px │ │ ├── set02.err │ │ ├── set02.px │ │ ├── set03.err │ │ ├── set03.px │ │ ├── set04.err │ │ ├── set04.px │ │ ├── set05.err │ │ ├── set05.px │ │ ├── spread01.err │ │ └── spread01.px │ ├── strings │ │ ├── char01.err │ │ ├── char01.px │ │ ├── char02.err │ │ ├── char02.px │ │ ├── char03.err │ │ ├── char03.px │ │ ├── char04.err │ │ ├── char04.px │ │ ├── char05.err │ │ ├── char05.px │ │ ├── concat01.err │ │ ├── concat01.px │ │ ├── escape01.err │ │ ├── escape01.px │ │ ├── escape02.err │ │ ├── escape02.px │ │ ├── escape03.err │ │ ├── escape03.px │ │ ├── escape04.err │ │ ├── escape04.px │ │ ├── escape05.err │ │ ├── escape05.px │ │ ├── format01.err │ │ ├── format01.px │ │ ├── format02.err │ │ ├── format02.px │ │ ├── format03.err │ │ ├── format03.px │ │ ├── format04.err │ │ ├── format04.px │ │ ├── format05.err │ │ ├── format05.px │ │ ├── format06.err │ │ ├── format06.px │ │ ├── format07.err │ │ ├── format07.px │ │ ├── string01.err │ │ ├── string01.px │ │ ├── string02.err │ │ ├── string02.px │ │ ├── string03.err │ │ └── string03.px │ └── tuples │ │ ├── cmp01.err │ │ ├── cmp01.px │ │ ├── cmp02.err │ │ ├── cmp02.px │ │ ├── cmp03.err │ │ ├── cmp03.px │ │ ├── decl01.err │ │ ├── decl01.px │ │ ├── decl02.err │ │ ├── decl02.px │ │ ├── decl03.err │ │ ├── decl03.px │ │ ├── decl04.err │ │ ├── decl04.px │ │ ├── tuple01.err │ │ ├── tuple01.px │ │ ├── tuple02.err │ │ ├── tuple02.px │ │ ├── tuple03.err │ │ ├── tuple03.px │ │ ├── tuple04.err │ │ ├── tuple04.px │ │ ├── tuple05.err │ │ ├── tuple05.px │ │ ├── tuple06.err │ │ ├── tuple06.px │ │ ├── tuple07.err │ │ ├── tuple07.px │ │ ├── tuple08.err │ │ ├── tuple08.px │ │ ├── tuple09.err │ │ ├── tuple09.px │ │ ├── tuple10.err │ │ └── tuple10.px ├── good │ ├── arrays │ │ ├── array01.out │ │ ├── array01.px │ │ ├── array02.out │ │ ├── array02.px │ │ ├── array03.out │ │ ├── array03.px │ │ ├── array04.out │ │ ├── array04.px │ │ ├── array05.out │ │ ├── array05.px │ │ ├── array06.out │ │ ├── array06.px │ │ ├── array07.out │ │ ├── array07.px │ │ ├── array08.out │ │ ├── array08.px │ │ ├── array09.out │ │ ├── array09.px │ │ ├── array10.out │ │ ├── array10.px │ │ ├── array11.out │ │ ├── array11.px │ │ ├── array12.out │ │ ├── array12.px │ │ ├── cmp01.out │ │ ├── cmp01.px │ │ ├── cmp02.out │ │ ├── cmp02.px │ │ ├── cmp03.out │ │ ├── cmp03.px │ │ ├── comprehension01.out │ │ ├── comprehension01.px │ │ ├── comprehension02.out │ │ ├── comprehension02.px │ │ ├── comprehension03.out │ │ ├── comprehension03.px │ │ ├── comprehension04.out │ │ ├── comprehension04.px │ │ ├── comprehension05.out │ │ ├── comprehension05.px │ │ ├── comprehension06.out │ │ ├── comprehension06.px │ │ ├── comprehension07.out │ │ ├── comprehension07.px │ │ ├── comprehension08.out │ │ ├── comprehension08.px │ │ ├── comprehension09.out │ │ ├── comprehension09.px │ │ ├── comprehension10.out │ │ ├── comprehension10.px │ │ ├── comprehension11.out │ │ ├── comprehension11.px │ │ ├── comprehension12.out │ │ ├── comprehension12.px │ │ ├── comprehension13.out │ │ ├── comprehension13.px │ │ ├── comprehension14.out │ │ ├── comprehension14.px │ │ ├── comprehension15.out │ │ ├── comprehension15.px │ │ ├── comprehension16.out │ │ ├── comprehension16.px │ │ ├── comprehension17.out │ │ ├── comprehension17.px │ │ ├── comprehension18.out │ │ ├── comprehension18.px │ │ ├── decl01.out │ │ ├── decl01.px │ │ ├── decl02.out │ │ ├── decl02.px │ │ ├── decl03.out │ │ ├── decl03.px │ │ ├── decl04.out │ │ ├── decl04.px │ │ ├── empty01.out │ │ ├── empty01.px │ │ ├── empty02.out │ │ ├── empty02.px │ │ ├── empty03.out │ │ ├── empty03.px │ │ ├── empty04.out │ │ ├── empty04.px │ │ ├── empty05.out │ │ ├── empty05.px │ │ ├── empty06.out │ │ ├── empty06.px │ │ ├── empty07.out │ │ ├── empty07.px │ │ ├── empty08.out │ │ ├── empty08.px │ │ ├── empty09.out │ │ ├── empty09.px │ │ ├── empty10.out │ │ ├── empty10.px │ │ ├── empty11.out │ │ ├── empty11.px │ │ ├── empty12.out │ │ ├── empty12.px │ │ ├── empty13.out │ │ ├── empty13.px │ │ ├── for01.out │ │ ├── for01.px │ │ ├── for02.out │ │ ├── for02.px │ │ ├── for03.out │ │ ├── for03.px │ │ ├── for04.out │ │ ├── for04.px │ │ ├── for05.out │ │ ├── for05.px │ │ ├── for06.out │ │ ├── for06.px │ │ ├── for07.out │ │ ├── for07.px │ │ ├── for08.out │ │ ├── for08.px │ │ ├── for09.out │ │ ├── for09.px │ │ ├── for10.out │ │ ├── for10.px │ │ ├── for11.out │ │ ├── for11.px │ │ ├── line01.out │ │ ├── line01.px │ │ ├── method01.out │ │ ├── method01.px │ │ ├── method02.out │ │ ├── method02.px │ │ ├── method03.out │ │ ├── method03.px │ │ ├── method04.out │ │ ├── method04.px │ │ ├── method05.out │ │ ├── method05.px │ │ ├── method06.out │ │ ├── method06.px │ │ ├── method07.out │ │ ├── method07.px │ │ ├── method08.out │ │ ├── method08.px │ │ ├── method09.out │ │ ├── method09.px │ │ ├── method10.out │ │ ├── method10.px │ │ ├── method11.out │ │ ├── method11.px │ │ ├── method12.out │ │ ├── method12.px │ │ ├── method13.out │ │ ├── method13.px │ │ ├── method14.out │ │ ├── method14.px │ │ ├── multidim01.out │ │ ├── multidim01.px │ │ ├── multidim02.out │ │ ├── multidim02.px │ │ ├── multidim03.out │ │ ├── multidim03.px │ │ ├── op01.out │ │ ├── op01.px │ │ ├── op02.out │ │ ├── op02.px │ │ ├── op03.out │ │ ├── op03.px │ │ ├── op04.out │ │ ├── op04.px │ │ ├── op05.out │ │ ├── op05.px │ │ ├── op06.out │ │ ├── op06.px │ │ ├── print01.out │ │ ├── print01.px │ │ ├── print02.out │ │ ├── print02.px │ │ ├── print03.out │ │ ├── print03.px │ │ ├── range01.out │ │ ├── range01.px │ │ ├── range02.out │ │ ├── range02.px │ │ ├── range03.out │ │ ├── range03.px │ │ ├── range04.out │ │ ├── range04.px │ │ ├── range05.out │ │ ├── range05.px │ │ ├── range06.out │ │ ├── range06.px │ │ ├── range07.out │ │ ├── range07.px │ │ ├── range08.out │ │ ├── range08.px │ │ ├── range09.out │ │ ├── range09.px │ │ ├── slice01.out │ │ ├── slice01.px │ │ ├── slice02.out │ │ ├── slice02.px │ │ ├── slice03.out │ │ ├── slice03.px │ │ ├── slice04.out │ │ ├── slice04.px │ │ ├── slice05.out │ │ ├── slice05.px │ │ ├── slice06.out │ │ ├── slice06.px │ │ ├── spread01.out │ │ ├── spread01.px │ │ ├── spread02.out │ │ ├── spread02.px │ │ ├── spread03.out │ │ ├── spread03.px │ │ ├── spread04.out │ │ ├── spread04.px │ │ ├── spread05.out │ │ └── spread05.px │ ├── basic │ │ ├── assg01.out │ │ ├── assg01.px │ │ ├── assg02.out │ │ ├── assg02.px │ │ ├── assg03.out │ │ ├── assg03.px │ │ ├── bool01.out │ │ ├── bool01.px │ │ ├── bool02.out │ │ ├── bool02.px │ │ ├── bool03.out │ │ ├── bool03.px │ │ ├── cmp01.out │ │ ├── cmp01.px │ │ ├── cmp02.out │ │ ├── cmp02.px │ │ ├── cmp03.out │ │ ├── cmp03.px │ │ ├── cmp04.out │ │ ├── cmp04.px │ │ ├── cmp05.out │ │ ├── cmp05.px │ │ ├── comment01.out │ │ ├── comment01.px │ │ ├── comment02.out │ │ ├── comment02.px │ │ ├── comment03.out │ │ ├── comment03.px │ │ ├── comment04.out │ │ ├── comment04.px │ │ ├── cond01.out │ │ ├── cond01.px │ │ ├── cond02.out │ │ ├── cond02.px │ │ ├── cond03.out │ │ ├── cond03.px │ │ ├── cond04.out │ │ ├── cond04.px │ │ ├── cond05.out │ │ ├── cond05.px │ │ ├── cond06.out │ │ ├── cond06.px │ │ ├── decl01.out │ │ ├── decl01.px │ │ ├── decl02.out │ │ ├── decl02.px │ │ ├── decl03.out │ │ ├── decl03.px │ │ ├── default01.out │ │ ├── default01.px │ │ ├── line01.out │ │ ├── line01.px │ │ ├── line02.out │ │ ├── line02.px │ │ ├── line03.out │ │ ├── line03.px │ │ ├── name01.out │ │ ├── name01.px │ │ ├── placeholder01.out │ │ ├── placeholder01.px │ │ ├── print01.out │ │ ├── print01.px │ │ ├── print02.out │ │ ├── print02.px │ │ ├── scope01.out │ │ └── scope01.px │ ├── classes │ │ ├── abstract01.out │ │ ├── abstract01.px │ │ ├── cmp01.out │ │ ├── cmp01.px │ │ ├── cmp02.out │ │ ├── cmp02.px │ │ ├── constructor01.out │ │ ├── constructor01.px │ │ ├── constructor02.out │ │ ├── constructor02.px │ │ ├── constructor03.out │ │ ├── constructor03.px │ │ ├── constructor04.out │ │ ├── constructor04.px │ │ ├── constructor05.out │ │ ├── constructor05.px │ │ ├── constructor06.out │ │ ├── constructor06.px │ │ ├── destructor01.out │ │ ├── destructor01.px │ │ ├── destructor02.out │ │ ├── destructor02.px │ │ ├── destructor03.out │ │ ├── destructor03.px │ │ ├── destructor04.out │ │ ├── destructor04.px │ │ ├── destructor05.out │ │ ├── destructor05.px │ │ ├── destructor06.out │ │ ├── destructor06.px │ │ ├── inheritance01.out │ │ ├── inheritance01.px │ │ ├── inheritance02.out │ │ ├── inheritance02.px │ │ ├── inheritance03.out │ │ ├── inheritance03.px │ │ ├── inheritance04.out │ │ ├── inheritance04.px │ │ ├── inheritance05.out │ │ ├── inheritance05.px │ │ ├── inheritance06.out │ │ ├── inheritance06.px │ │ ├── inheritance07.out │ │ ├── inheritance07.px │ │ ├── inheritance08.out │ │ ├── inheritance08.px │ │ ├── inheritance09.out │ │ ├── inheritance09.px │ │ ├── inheritance10.out │ │ ├── inheritance10.px │ │ ├── init01.out │ │ ├── init01.px │ │ ├── init02.out │ │ ├── init02.px │ │ ├── init03.out │ │ ├── init03.px │ │ ├── method01.out │ │ ├── method01.px │ │ ├── method02.out │ │ ├── method02.px │ │ ├── method03.out │ │ ├── method03.px │ │ ├── method04.out │ │ ├── method04.px │ │ ├── method05.out │ │ ├── method05.px │ │ ├── method06.out │ │ ├── method06.px │ │ ├── method07.out │ │ ├── method07.px │ │ ├── method08.out │ │ ├── method08.px │ │ ├── method09.out │ │ ├── method09.px │ │ ├── method10.out │ │ ├── method10.px │ │ ├── method11.out │ │ ├── method11.px │ │ ├── method12.out │ │ ├── method12.px │ │ ├── method13.out │ │ ├── method13.px │ │ ├── print01.out │ │ ├── print01.px │ │ ├── print02.out │ │ ├── print02.px │ │ ├── print03.out │ │ ├── print03.px │ │ ├── print04.out │ │ ├── print04.px │ │ ├── print05.out │ │ ├── print05.px │ │ ├── print06.out │ │ ├── print06.px │ │ ├── struct01.out │ │ ├── struct01.px │ │ ├── struct02.out │ │ ├── struct02.px │ │ ├── struct03.out │ │ ├── struct03.px │ │ ├── struct04.out │ │ ├── struct04.px │ │ ├── struct05.out │ │ ├── struct05.px │ │ ├── struct06.out │ │ ├── struct06.px │ │ ├── struct07.out │ │ ├── struct07.px │ │ ├── struct08.out │ │ ├── struct08.px │ │ ├── struct09.out │ │ ├── struct09.px │ │ ├── super01.out │ │ ├── super01.px │ │ ├── super02.out │ │ ├── super02.px │ │ ├── super03.out │ │ ├── super03.px │ │ ├── super04.out │ │ ├── super04.px │ │ ├── super05.out │ │ ├── super05.px │ │ ├── unification01.out │ │ ├── unification01.px │ │ ├── unification02.out │ │ ├── unification02.px │ │ ├── unification03.out │ │ ├── unification03.px │ │ ├── unification04.out │ │ ├── unification04.px │ │ ├── unification05.out │ │ ├── unification05.px │ │ ├── var01.out │ │ ├── var01.px │ │ ├── var02.out │ │ └── var02.px │ ├── conversions │ │ ├── char01.out │ │ ├── char01.px │ │ ├── char02.out │ │ ├── char02.px │ │ ├── join01.out │ │ ├── join01.px │ │ ├── join02.out │ │ ├── join02.px │ │ ├── join03.out │ │ ├── join03.px │ │ ├── number01.out │ │ ├── number01.px │ │ ├── number02.out │ │ ├── number02.px │ │ ├── string01.out │ │ ├── string01.px │ │ ├── string02.out │ │ ├── string02.px │ │ ├── string03.out │ │ ├── string03.px │ │ ├── string04.out │ │ ├── string04.px │ │ ├── string05.out │ │ ├── string05.px │ │ ├── string06.out │ │ ├── string06.px │ │ ├── string07.out │ │ ├── string07.px │ │ ├── string08.out │ │ ├── string08.px │ │ ├── string09.out │ │ └── string09.px │ ├── dictionaries │ │ ├── cmp01.out │ │ ├── cmp01.px │ │ ├── cmp02.out │ │ ├── cmp02.px │ │ ├── comprehension01.out │ │ ├── comprehension01.px │ │ ├── comprehension02.out │ │ ├── comprehension02.px │ │ ├── comprehension03.out │ │ ├── comprehension03.px │ │ ├── comprehension04.out │ │ ├── comprehension04.px │ │ ├── dict01.out │ │ ├── dict01.px │ │ ├── dict02.out │ │ ├── dict02.px │ │ ├── dict03.out │ │ ├── dict03.px │ │ ├── dict04.out │ │ ├── dict04.px │ │ ├── dict05.out │ │ ├── dict05.px │ │ ├── dict06.out │ │ ├── dict06.px │ │ ├── dict07.out │ │ ├── dict07.px │ │ ├── dict08.out │ │ ├── dict08.px │ │ ├── dict09.out │ │ ├── dict09.px │ │ ├── dict10.out │ │ ├── dict10.px │ │ ├── dict11.out │ │ ├── dict11.px │ │ ├── dict12.out │ │ ├── dict12.px │ │ ├── empty01.out │ │ ├── empty01.px │ │ ├── empty02.out │ │ ├── empty02.px │ │ ├── for01.out │ │ ├── for01.px │ │ ├── for02.out │ │ ├── for02.px │ │ ├── for03.out │ │ ├── for03.px │ │ ├── for04.out │ │ ├── for04.px │ │ ├── for05.out │ │ ├── for05.px │ │ ├── for06.out │ │ ├── for06.px │ │ ├── method01.out │ │ ├── method01.px │ │ ├── method02.out │ │ ├── method02.px │ │ ├── method03.out │ │ ├── method03.px │ │ ├── method04.out │ │ ├── method04.px │ │ ├── method05.out │ │ ├── method05.px │ │ ├── method06.out │ │ ├── method06.px │ │ ├── method07.out │ │ ├── method07.px │ │ ├── op01.out │ │ ├── op01.px │ │ ├── op02.out │ │ ├── op02.px │ │ ├── order01.out │ │ ├── order01.px │ │ ├── order02.out │ │ ├── order02.px │ │ ├── order03.out │ │ ├── order03.px │ │ ├── print01.out │ │ ├── print01.px │ │ ├── spread01.out │ │ ├── spread01.px │ │ ├── spread02.out │ │ ├── spread02.px │ │ ├── spread03.out │ │ └── spread03.px │ ├── euler │ │ ├── problem001.out │ │ ├── problem001.px │ │ ├── problem002.out │ │ ├── problem002.px │ │ ├── problem003.out │ │ ├── problem003.px │ │ ├── problem004.out │ │ ├── problem004.px │ │ ├── problem007.out │ │ ├── problem007.px │ │ ├── problem008.in │ │ ├── problem008.out │ │ ├── problem008.px │ │ ├── problem009.out │ │ ├── problem009.px │ │ ├── problem010.out │ │ ├── problem010.px │ │ ├── problem011.in │ │ ├── problem011.out │ │ ├── problem011.px │ │ ├── problem012.out │ │ ├── problem012.px │ │ ├── problem013.in │ │ ├── problem013.out │ │ ├── problem013.px │ │ ├── problem014.out │ │ ├── problem014.px │ │ ├── problem015.out │ │ ├── problem015.px │ │ ├── problem016.out │ │ ├── problem016.px │ │ ├── problem020.out │ │ ├── problem020.px │ │ ├── problem067.in │ │ ├── problem067.out │ │ ├── problem067.px │ │ └── project-euler.md │ ├── functions │ │ ├── args01.out │ │ ├── args01.px │ │ ├── args02.out │ │ ├── args02.px │ │ ├── args03.out │ │ ├── args03.px │ │ ├── args04.out │ │ ├── args04.px │ │ ├── args05.out │ │ ├── args05.px │ │ ├── args06.out │ │ ├── args06.px │ │ ├── args07.out │ │ ├── args07.px │ │ ├── args08.out │ │ ├── args08.px │ │ ├── default01.out │ │ ├── default01.px │ │ ├── default02.out │ │ ├── default02.px │ │ ├── func01.out │ │ ├── func01.px │ │ ├── func02.out │ │ ├── func02.px │ │ ├── func03.out │ │ ├── func03.px │ │ ├── func04.out │ │ ├── func04.px │ │ ├── func05.out │ │ ├── func05.px │ │ ├── func06.out │ │ ├── func06.px │ │ ├── func07.out │ │ ├── func07.px │ │ ├── func08.out │ │ ├── func08.px │ │ ├── func09.out │ │ ├── func09.px │ │ ├── func10.out │ │ ├── func10.px │ │ ├── func11.out │ │ ├── func11.px │ │ ├── line01.out │ │ ├── line01.px │ │ ├── name01.out │ │ ├── name01.px │ │ ├── name02.out │ │ ├── name02.px │ │ ├── nested01.out │ │ ├── nested01.px │ │ ├── nested02.out │ │ ├── nested02.px │ │ ├── nested03.out │ │ ├── nested03.px │ │ ├── nested04.out │ │ ├── nested04.px │ │ ├── nested05.out │ │ ├── nested05.px │ │ ├── nested06.out │ │ ├── nested06.px │ │ ├── nested07.out │ │ ├── nested07.px │ │ ├── nested08.out │ │ ├── nested08.px │ │ ├── nested09.out │ │ ├── nested09.px │ │ ├── nested10.out │ │ ├── nested10.px │ │ ├── placeholder01.out │ │ ├── placeholder01.px │ │ ├── return01.out │ │ ├── return01.px │ │ ├── return02.out │ │ ├── return02.px │ │ ├── scope01.out │ │ ├── scope01.px │ │ ├── scope02.out │ │ ├── scope02.px │ │ ├── scope03.out │ │ ├── scope03.px │ │ ├── var01.out │ │ ├── var01.px │ │ ├── var02.out │ │ ├── var02.px │ │ ├── var03.out │ │ ├── var03.px │ │ ├── var04.out │ │ ├── var04.px │ │ ├── var05.out │ │ ├── var05.px │ │ ├── var06.out │ │ ├── var06.px │ │ ├── var07.out │ │ ├── var07.px │ │ ├── variadic01.out │ │ ├── variadic01.px │ │ ├── variadic02.out │ │ ├── variadic02.px │ │ ├── variadic03.out │ │ ├── variadic03.px │ │ ├── variadic04.out │ │ ├── variadic04.px │ │ ├── variadic05.out │ │ ├── variadic05.px │ │ ├── variadic06.out │ │ ├── variadic06.px │ │ ├── variadic07.out │ │ ├── variadic07.px │ │ ├── variadic08.out │ │ ├── variadic08.px │ │ ├── variadic09.out │ │ └── variadic09.px │ ├── generators │ │ ├── cmp01.err │ │ ├── cmp01.px │ │ ├── default01.out │ │ ├── default01.px │ │ ├── default02.out │ │ ├── default02.px │ │ ├── generator01.out │ │ ├── generator01.px │ │ ├── generator02.out │ │ ├── generator02.px │ │ ├── generator03.out │ │ ├── generator03.px │ │ ├── generator04.out │ │ ├── generator04.px │ │ ├── generator05.out │ │ ├── generator05.px │ │ ├── generator06.out │ │ ├── generator06.px │ │ ├── generator07.out │ │ ├── generator07.px │ │ ├── generator08.out │ │ ├── generator08.px │ │ ├── generator09.out │ │ ├── generator09.px │ │ ├── generator10.out │ │ ├── generator10.px │ │ ├── generator11.out │ │ ├── generator11.px │ │ ├── generic01.out │ │ ├── generic01.px │ │ ├── generic02.out │ │ ├── generic02.px │ │ ├── generic03.out │ │ ├── generic03.px │ │ ├── generic04.out │ │ ├── generic04.px │ │ ├── generic05.out │ │ ├── generic05.px │ │ ├── generic06.out │ │ ├── generic06.px │ │ ├── generic07.out │ │ ├── generic07.px │ │ ├── iterable01.out │ │ ├── iterable01.px │ │ ├── iterable02.out │ │ ├── iterable02.px │ │ ├── method01.out │ │ ├── method01.px │ │ ├── method02.out │ │ ├── method02.px │ │ ├── method03.out │ │ ├── method03.px │ │ ├── nested01.out │ │ ├── nested01.px │ │ ├── nested02.out │ │ ├── nested02.px │ │ ├── next01.out │ │ ├── next01.px │ │ ├── next02.out │ │ ├── next02.px │ │ ├── next03.out │ │ ├── next03.px │ │ ├── recursion01.out │ │ ├── recursion01.px │ │ ├── recursion02.out │ │ ├── recursion02.px │ │ ├── var01.out │ │ ├── var01.px │ │ ├── var02.out │ │ ├── var02.px │ │ ├── var03.out │ │ ├── var03.px │ │ ├── var04.out │ │ ├── var04.px │ │ ├── var05.out │ │ ├── var05.px │ │ ├── var06.out │ │ ├── var06.px │ │ ├── var07.out │ │ ├── var07.px │ │ ├── var08.out │ │ ├── var08.px │ │ ├── variadic01.out │ │ └── variadic01.px │ ├── generics │ │ ├── basic01.out │ │ ├── basic01.px │ │ ├── basic02.out │ │ ├── basic02.px │ │ ├── basic03.out │ │ ├── basic03.px │ │ ├── basic04.out │ │ ├── basic04.px │ │ ├── basic05.out │ │ ├── basic05.px │ │ ├── basic06.out │ │ ├── basic06.px │ │ ├── basic07.out │ │ ├── basic07.px │ │ ├── basic08.out │ │ ├── basic08.px │ │ ├── basic09.out │ │ ├── basic09.px │ │ ├── basic10.out │ │ ├── basic10.px │ │ ├── basic11.out │ │ ├── basic11.px │ │ ├── basic12.out │ │ ├── basic12.px │ │ ├── complex01.out │ │ ├── complex01.px │ │ ├── complex02.out │ │ ├── complex02.px │ │ ├── complex03.out │ │ ├── complex03.px │ │ ├── complex04.out │ │ ├── complex04.px │ │ ├── complex05.out │ │ ├── complex05.px │ │ ├── complex06.out │ │ ├── complex06.px │ │ ├── complex07.out │ │ ├── complex07.px │ │ ├── default01.out │ │ ├── default01.px │ │ ├── default02.out │ │ ├── default02.px │ │ ├── default03.out │ │ ├── default03.px │ │ ├── default04.out │ │ ├── default04.px │ │ ├── default05.out │ │ ├── default05.px │ │ ├── default06.out │ │ ├── default06.px │ │ ├── func01.out │ │ ├── func01.px │ │ ├── func02.out │ │ ├── func02.px │ │ ├── func03.out │ │ ├── func03.px │ │ ├── func04.out │ │ ├── func04.px │ │ ├── func05.out │ │ ├── func05.px │ │ ├── func06.out │ │ ├── func06.px │ │ ├── func07.out │ │ ├── func07.px │ │ ├── func08.out │ │ ├── func08.px │ │ ├── func09.out │ │ ├── func09.px │ │ ├── func10.out │ │ ├── func10.px │ │ ├── func11.out │ │ ├── func11.px │ │ ├── implicit01.out │ │ ├── implicit01.px │ │ ├── implicit02.out │ │ ├── implicit02.px │ │ ├── implicit03.out │ │ ├── implicit03.px │ │ ├── implicit04.out │ │ ├── implicit04.px │ │ ├── implicit05.out │ │ ├── implicit05.px │ │ ├── implicit06.out │ │ ├── implicit06.px │ │ ├── implicit07.out │ │ ├── implicit07.px │ │ ├── method01.out │ │ ├── method01.px │ │ ├── method02.out │ │ ├── method02.px │ │ ├── name01.out │ │ ├── name01.px │ │ ├── name02.out │ │ ├── name02.px │ │ ├── name03.out │ │ ├── name03.px │ │ ├── name04.out │ │ ├── name04.px │ │ ├── name05.out │ │ ├── name05.px │ │ ├── name06.out │ │ ├── name06.px │ │ ├── nested01.out │ │ ├── nested01.px │ │ ├── nested02.out │ │ ├── nested02.px │ │ ├── placeholder01.out │ │ ├── placeholder01.px │ │ ├── return01.out │ │ ├── return01.px │ │ ├── return02.out │ │ ├── return02.px │ │ ├── return03.out │ │ ├── return03.px │ │ ├── return04.out │ │ ├── return04.px │ │ ├── variadic01.out │ │ ├── variadic01.px │ │ ├── variadic02.out │ │ └── variadic02.px │ ├── input │ │ ├── read01.in │ │ ├── read01.out │ │ ├── read01.px │ │ ├── read02.in │ │ ├── read02.out │ │ ├── read02.px │ │ ├── read03.in │ │ ├── read03.out │ │ ├── read03.px │ │ ├── read04.in │ │ ├── read04.out │ │ ├── read04.px │ │ ├── read05.in │ │ ├── read05.out │ │ ├── read05.px │ │ ├── read06.in │ │ ├── read06.out │ │ ├── read06.px │ │ ├── read07.in │ │ ├── read07.out │ │ └── read07.px │ ├── lambdas │ │ ├── closure01.out │ │ ├── closure01.px │ │ ├── closure02.out │ │ ├── closure02.px │ │ ├── lambda01.out │ │ ├── lambda01.px │ │ ├── lambda02.out │ │ ├── lambda02.px │ │ ├── lambda03.out │ │ ├── lambda03.px │ │ ├── lambda04.out │ │ ├── lambda04.px │ │ ├── lambda05.out │ │ ├── lambda05.px │ │ ├── lambda06.out │ │ ├── lambda06.px │ │ ├── lambda07.out │ │ ├── lambda07.px │ │ ├── lambda08.out │ │ ├── lambda08.px │ │ ├── lambda09.out │ │ ├── lambda09.px │ │ ├── lambda10.out │ │ ├── lambda10.px │ │ ├── lambda11.out │ │ ├── lambda11.px │ │ ├── lambda12.out │ │ ├── lambda12.px │ │ ├── lambda13.out │ │ ├── lambda13.px │ │ ├── lambda14.out │ │ ├── lambda14.px │ │ ├── nested01.out │ │ ├── nested01.px │ │ ├── nested02.out │ │ ├── nested02.px │ │ ├── partial01.out │ │ ├── partial01.px │ │ ├── placeholder01.out │ │ ├── placeholder01.px │ │ ├── var01.out │ │ ├── var01.px │ │ ├── var02.out │ │ ├── var02.px │ │ ├── var03.out │ │ └── var03.px │ ├── libraries │ │ ├── math01.out │ │ ├── math01.px │ │ ├── math02.out │ │ ├── math02.px │ │ ├── math03.out │ │ ├── math03.px │ │ ├── math04.out │ │ ├── math04.px │ │ ├── math05.out │ │ ├── math05.px │ │ ├── random01.out │ │ ├── random01.px │ │ ├── random02.out │ │ ├── random02.px │ │ ├── random03.out │ │ ├── random03.px │ │ ├── random04.out │ │ ├── random04.px │ │ ├── random05.out │ │ ├── random05.px │ │ ├── random06.out │ │ ├── random06.px │ │ ├── std01.out │ │ ├── std01.px │ │ ├── std02.out │ │ ├── std02.px │ │ ├── std03.out │ │ └── std03.px │ ├── loops │ │ ├── break01.out │ │ ├── break01.px │ │ ├── break02.out │ │ ├── break02.px │ │ ├── break03.out │ │ ├── break03.px │ │ ├── continue01.out │ │ ├── continue01.px │ │ ├── continue02.out │ │ ├── continue02.px │ │ ├── continue03.out │ │ ├── continue03.px │ │ ├── continue04.out │ │ ├── continue04.px │ │ ├── else01.out │ │ ├── else01.px │ │ ├── else02.out │ │ ├── else02.px │ │ ├── else03.out │ │ ├── else03.px │ │ ├── else04.out │ │ ├── else04.px │ │ ├── else05.out │ │ ├── else05.px │ │ ├── for01.out │ │ ├── for01.px │ │ ├── for02.out │ │ ├── for02.px │ │ ├── for03.out │ │ ├── for03.px │ │ ├── for04.out │ │ ├── for04.px │ │ ├── for05.out │ │ ├── for05.px │ │ ├── for06.out │ │ ├── for06.px │ │ ├── for07.out │ │ ├── for07.px │ │ ├── for08.out │ │ ├── for08.px │ │ ├── for09.out │ │ ├── for09.px │ │ ├── for10.out │ │ ├── for10.px │ │ ├── for11.out │ │ ├── for11.px │ │ ├── for12.out │ │ ├── for12.px │ │ ├── for13.out │ │ ├── for13.px │ │ ├── for14.out │ │ ├── for14.px │ │ ├── for15.out │ │ ├── for15.px │ │ ├── for16.out │ │ ├── for16.px │ │ ├── init01.out │ │ ├── init01.px │ │ ├── label01.out │ │ ├── label01.px │ │ ├── label02.out │ │ ├── label02.px │ │ ├── label03.out │ │ ├── label03.px │ │ ├── label04.out │ │ ├── label04.px │ │ ├── label05.out │ │ ├── label05.px │ │ ├── until01.out │ │ ├── until01.px │ │ ├── until02.out │ │ ├── until02.px │ │ ├── while01.out │ │ ├── while01.px │ │ ├── while02.out │ │ └── while02.px │ ├── modules │ │ ├── attr01.out │ │ ├── attr01.px │ │ ├── use01.out │ │ ├── use01.px │ │ ├── use02.out │ │ ├── use02.px │ │ ├── use03.out │ │ └── use03.px │ ├── nullables │ │ ├── cmp01.out │ │ ├── cmp01.px │ │ ├── cmp02.out │ │ ├── cmp02.px │ │ ├── cmp03.out │ │ ├── cmp03.px │ │ ├── cmp04.out │ │ ├── cmp04.px │ │ ├── cmp05.out │ │ ├── cmp05.px │ │ ├── cmp06.out │ │ ├── cmp06.px │ │ ├── default01.out │ │ ├── default01.px │ │ ├── nested01.out │ │ ├── nested01.px │ │ ├── nested02.out │ │ ├── nested02.px │ │ ├── nullable01.out │ │ ├── nullable01.px │ │ ├── nullable02.out │ │ ├── nullable02.px │ │ ├── nullable03.out │ │ ├── nullable03.px │ │ ├── nullable04.out │ │ ├── nullable04.px │ │ ├── nullable05.out │ │ ├── nullable05.px │ │ ├── nullable06.out │ │ ├── nullable06.px │ │ ├── nullable07.out │ │ ├── nullable07.px │ │ ├── nullable08.out │ │ ├── nullable08.px │ │ ├── nullable09.out │ │ ├── nullable09.px │ │ ├── nullable10.out │ │ ├── nullable10.px │ │ ├── nullable11.out │ │ ├── nullable11.px │ │ ├── op01.out │ │ ├── op01.px │ │ ├── op02.out │ │ ├── op02.px │ │ ├── op03.out │ │ ├── op03.px │ │ ├── op04.out │ │ ├── op04.px │ │ ├── op05.out │ │ ├── op05.px │ │ ├── op06.out │ │ ├── op06.px │ │ ├── op07.out │ │ ├── op07.px │ │ ├── op08.out │ │ ├── op08.px │ │ ├── op09.out │ │ ├── op09.px │ │ ├── op10.out │ │ ├── op10.px │ │ ├── op11.out │ │ ├── op11.px │ │ ├── op12.out │ │ ├── op12.px │ │ ├── op13.out │ │ ├── op13.px │ │ ├── op14.out │ │ ├── op14.px │ │ ├── op15.out │ │ ├── op15.px │ │ ├── op16.out │ │ ├── op16.px │ │ ├── op17.out │ │ ├── op17.px │ │ ├── op18.out │ │ ├── op18.px │ │ ├── op19.out │ │ ├── op19.px │ │ ├── op20.out │ │ ├── op20.px │ │ ├── print01.out │ │ ├── print01.px │ │ ├── print02.out │ │ └── print02.px │ ├── numbers │ │ ├── float01.out │ │ ├── float01.px │ │ ├── float02.out │ │ ├── float02.px │ │ ├── float03.out │ │ ├── float03.px │ │ ├── float04.out │ │ ├── float04.px │ │ ├── float05.out │ │ ├── float05.px │ │ ├── float06.out │ │ ├── float06.px │ │ ├── float07.out │ │ ├── float07.px │ │ ├── int01.out │ │ ├── int01.px │ │ ├── int02.out │ │ ├── int02.px │ │ ├── int03.out │ │ ├── int03.px │ │ ├── int04.out │ │ ├── int04.px │ │ ├── int05.out │ │ ├── int05.px │ │ ├── int06.out │ │ ├── int06.px │ │ ├── int07.out │ │ ├── int07.px │ │ ├── int08.out │ │ ├── int08.px │ │ ├── rat01.out │ │ ├── rat01.px │ │ ├── rat02.out │ │ ├── rat02.px │ │ ├── rat03.out │ │ ├── rat03.px │ │ ├── rat04.out │ │ ├── rat04.px │ │ ├── rat05.out │ │ ├── rat05.px │ │ ├── rat06.out │ │ ├── rat06.px │ │ ├── rat07.out │ │ ├── rat07.px │ │ ├── rat08.out │ │ ├── rat08.px │ │ ├── rat09.out │ │ ├── rat09.px │ │ ├── rat10.out │ │ ├── rat10.px │ │ ├── rat11.out │ │ ├── rat11.px │ │ ├── rat12.out │ │ ├── rat12.px │ │ ├── rat13.out │ │ └── rat13.px │ ├── sets │ │ ├── cmp01.out │ │ ├── cmp01.px │ │ ├── cmp02.out │ │ ├── cmp02.px │ │ ├── comprehension01.out │ │ ├── comprehension01.px │ │ ├── comprehension02.out │ │ ├── comprehension02.px │ │ ├── comprehension03.out │ │ ├── comprehension03.px │ │ ├── comprehension04.out │ │ ├── comprehension04.px │ │ ├── comprehension05.out │ │ ├── comprehension05.px │ │ ├── comprehension06.out │ │ ├── comprehension06.px │ │ ├── empty01.out │ │ ├── empty01.px │ │ ├── empty02.out │ │ ├── empty02.px │ │ ├── for01.out │ │ ├── for01.px │ │ ├── for02.out │ │ ├── for02.px │ │ ├── for03.out │ │ ├── for03.px │ │ ├── for04.out │ │ ├── for04.px │ │ ├── for05.out │ │ ├── for05.px │ │ ├── for06.out │ │ ├── for06.px │ │ ├── for07.out │ │ ├── for07.px │ │ ├── for08.out │ │ ├── for08.px │ │ ├── method01.out │ │ ├── method01.px │ │ ├── method02.out │ │ ├── method02.px │ │ ├── method03.out │ │ ├── method03.px │ │ ├── method04.out │ │ ├── method04.px │ │ ├── method05.out │ │ ├── method05.px │ │ ├── method06.out │ │ ├── method06.px │ │ ├── method07.out │ │ ├── method07.px │ │ ├── op01.out │ │ ├── op01.px │ │ ├── op02.out │ │ ├── op02.px │ │ ├── op03.out │ │ ├── op03.px │ │ ├── op04.out │ │ ├── op04.px │ │ ├── op05.out │ │ ├── op05.px │ │ ├── op06.out │ │ ├── op06.px │ │ ├── order01.out │ │ ├── order01.px │ │ ├── order02.out │ │ ├── order02.px │ │ ├── order03.out │ │ ├── order03.px │ │ ├── print01.out │ │ ├── print01.px │ │ ├── range01.out │ │ ├── range01.px │ │ ├── range02.out │ │ ├── range02.px │ │ ├── range03.out │ │ ├── range03.px │ │ ├── range04.out │ │ ├── range04.px │ │ ├── range05.out │ │ ├── range05.px │ │ ├── set01.out │ │ ├── set01.px │ │ ├── set02.out │ │ ├── set02.px │ │ ├── set03.out │ │ ├── set03.px │ │ ├── set04.out │ │ ├── set04.px │ │ ├── set05.out │ │ ├── set05.px │ │ ├── set06.out │ │ ├── set06.px │ │ ├── set07.out │ │ ├── set07.px │ │ ├── set08.out │ │ ├── set08.px │ │ ├── spread01.out │ │ ├── spread01.px │ │ ├── spread02.out │ │ ├── spread02.px │ │ ├── spread03.out │ │ ├── spread03.px │ │ ├── spread04.out │ │ └── spread04.px │ ├── strings │ │ ├── char01.out │ │ ├── char01.px │ │ ├── char02.out │ │ ├── char02.px │ │ ├── char03.out │ │ ├── char03.px │ │ ├── char04.out │ │ ├── char04.px │ │ ├── char05.out │ │ ├── char05.px │ │ ├── cmp01.out │ │ ├── cmp01.px │ │ ├── cmp02.out │ │ ├── cmp02.px │ │ ├── cmp03.out │ │ ├── cmp03.px │ │ ├── cmp04.out │ │ ├── cmp04.px │ │ ├── comprehension01.out │ │ ├── comprehension01.px │ │ ├── concat01.out │ │ ├── concat01.px │ │ ├── concat02.out │ │ ├── concat02.px │ │ ├── concat03.out │ │ ├── concat03.px │ │ ├── empty01.out │ │ ├── empty01.px │ │ ├── empty02.out │ │ ├── empty02.px │ │ ├── escape01.out │ │ ├── escape01.px │ │ ├── escape02.out │ │ ├── escape02.px │ │ ├── for01.out │ │ ├── for01.px │ │ ├── for02.out │ │ ├── for02.px │ │ ├── for03.out │ │ ├── for03.px │ │ ├── for04.out │ │ ├── for04.px │ │ ├── format01.out │ │ ├── format01.px │ │ ├── format02.out │ │ ├── format02.px │ │ ├── format03.out │ │ ├── format03.px │ │ ├── format04.out │ │ ├── format04.px │ │ ├── format05.out │ │ ├── format05.px │ │ ├── method01.out │ │ ├── method01.px │ │ ├── method02.out │ │ ├── method02.px │ │ ├── method03.out │ │ ├── method03.px │ │ ├── method04.out │ │ ├── method04.px │ │ ├── method05.out │ │ ├── method05.px │ │ ├── method06.out │ │ ├── method06.px │ │ ├── multiply01.out │ │ ├── multiply01.px │ │ ├── multiply02.out │ │ ├── multiply02.px │ │ ├── print01.out │ │ ├── print01.px │ │ ├── slice01.out │ │ ├── slice01.px │ │ ├── slice02.out │ │ ├── slice02.px │ │ ├── spread01.out │ │ ├── spread01.px │ │ ├── string01.out │ │ ├── string01.px │ │ ├── string02.out │ │ ├── string02.px │ │ ├── string03.out │ │ ├── string03.px │ │ ├── string04.out │ │ ├── string04.px │ │ ├── string05.out │ │ └── string05.px │ └── tuples │ │ ├── cmp01.out │ │ ├── cmp01.px │ │ ├── cmp02.out │ │ ├── cmp02.px │ │ ├── cmp03.out │ │ ├── cmp03.px │ │ ├── cmp04.out │ │ ├── cmp04.px │ │ ├── decl01.out │ │ ├── decl01.px │ │ ├── decl02.out │ │ ├── decl02.px │ │ ├── decl03.out │ │ ├── decl03.px │ │ ├── decl04.out │ │ ├── decl04.px │ │ ├── default01.out │ │ ├── default01.px │ │ ├── default02.out │ │ ├── default02.px │ │ ├── tuple01.out │ │ ├── tuple01.px │ │ ├── tuple02.out │ │ ├── tuple02.px │ │ ├── tuple03.out │ │ ├── tuple03.px │ │ ├── tuple04.out │ │ ├── tuple04.px │ │ ├── tuple05.out │ │ ├── tuple05.px │ │ ├── tuple06.out │ │ ├── tuple06.px │ │ ├── tuple07.out │ │ ├── tuple07.px │ │ ├── tuple08.out │ │ ├── tuple08.px │ │ ├── tuple09.out │ │ └── tuple09.px └── requirements.txt └── version.txt /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamsol/Pyxell/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamsol/Pyxell/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamsol/Pyxell/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamsol/Pyxell/HEAD/README.md -------------------------------------------------------------------------------- /docs/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | -------------------------------------------------------------------------------- /docs/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamsol/Pyxell/HEAD/docs/Makefile -------------------------------------------------------------------------------- /docs/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamsol/Pyxell/HEAD/docs/index.md -------------------------------------------------------------------------------- /docs/manual.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamsol/Pyxell/HEAD/docs/manual.md -------------------------------------------------------------------------------- /docs/requirements.txt: -------------------------------------------------------------------------------- 1 | filelock 2 | flask 3 | -------------------------------------------------------------------------------- /docs/server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamsol/Pyxell/HEAD/docs/server.py -------------------------------------------------------------------------------- /lib/base.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamsol/Pyxell/HEAD/lib/base.hpp -------------------------------------------------------------------------------- /lib/math.px: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamsol/Pyxell/HEAD/lib/math.px -------------------------------------------------------------------------------- /lib/random.px: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamsol/Pyxell/HEAD/lib/random.px -------------------------------------------------------------------------------- /lib/std.px: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamsol/Pyxell/HEAD/lib/std.px -------------------------------------------------------------------------------- /lib/tsl/INFO.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamsol/Pyxell/HEAD/lib/tsl/INFO.md -------------------------------------------------------------------------------- /pyxell.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamsol/Pyxell/HEAD/pyxell.py -------------------------------------------------------------------------------- /src/codegen.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamsol/Pyxell/HEAD/src/codegen.py -------------------------------------------------------------------------------- /src/errors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamsol/Pyxell/HEAD/src/errors.py -------------------------------------------------------------------------------- /src/lexer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamsol/Pyxell/HEAD/src/lexer.py -------------------------------------------------------------------------------- /src/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamsol/Pyxell/HEAD/src/main.py -------------------------------------------------------------------------------- /src/parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamsol/Pyxell/HEAD/src/parser.py -------------------------------------------------------------------------------- /src/types.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamsol/Pyxell/HEAD/src/types.py -------------------------------------------------------------------------------- /src/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamsol/Pyxell/HEAD/src/utils.py -------------------------------------------------------------------------------- /src/values.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamsol/Pyxell/HEAD/src/values.py -------------------------------------------------------------------------------- /test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamsol/Pyxell/HEAD/test.py -------------------------------------------------------------------------------- /test/bad/arrays/array01.err: -------------------------------------------------------------------------------- 1 | :2:8: No implicit conversion from `Bool` to `Int`. -------------------------------------------------------------------------------- /test/bad/arrays/array01.px: -------------------------------------------------------------------------------- 1 | 2 | [1, 2][true] 3 | -------------------------------------------------------------------------------- /test/bad/arrays/array02.err: -------------------------------------------------------------------------------- 1 | :2:2: Type `Int` is not indexable. -------------------------------------------------------------------------------- /test/bad/arrays/array02.px: -------------------------------------------------------------------------------- 1 | 2 | 0[0] 3 | -------------------------------------------------------------------------------- /test/bad/arrays/array03.err: -------------------------------------------------------------------------------- 1 | :2:5: Incompatible types `String` and `Bool`. -------------------------------------------------------------------------------- /test/bad/arrays/array03.px: -------------------------------------------------------------------------------- 1 | 2 | a = ["abc", false, "d"] 3 | print a[0] + a[2] 4 | -------------------------------------------------------------------------------- /test/bad/arrays/array04.err: -------------------------------------------------------------------------------- 1 | :3:8: Type `[Int]` has no attribute `leng`. -------------------------------------------------------------------------------- /test/bad/arrays/array04.px: -------------------------------------------------------------------------------- 1 | 2 | a = [1] 3 | print a.leng 4 | -------------------------------------------------------------------------------- /test/bad/arrays/array05.err: -------------------------------------------------------------------------------- 1 | :3:1: Expression cannot be assigned to. -------------------------------------------------------------------------------- /test/bad/arrays/array05.px: -------------------------------------------------------------------------------- 1 | 2 | a = [5, 6] 3 | a.length = 3 4 | -------------------------------------------------------------------------------- /test/bad/arrays/cmp01.err: -------------------------------------------------------------------------------- 1 | :2:7: Cannot compare `[Char]` with `String`. -------------------------------------------------------------------------------- /test/bad/arrays/cmp01.px: -------------------------------------------------------------------------------- 1 | 2 | ['a'] == "a" 3 | -------------------------------------------------------------------------------- /test/bad/arrays/comprehension01.err: -------------------------------------------------------------------------------- 1 | :2:16: Incompatible types `Int` and `Char`. -------------------------------------------------------------------------------- /test/bad/arrays/comprehension01.px: -------------------------------------------------------------------------------- 1 | 2 | a = [for x in 1..'c' yield x] 3 | -------------------------------------------------------------------------------- /test/bad/arrays/comprehension02.err: -------------------------------------------------------------------------------- 1 | :2:27: Undeclared identifier `y`. -------------------------------------------------------------------------------- /test/bad/arrays/comprehension02.px: -------------------------------------------------------------------------------- 1 | 2 | a = [for x in 1...5 yield y] 3 | -------------------------------------------------------------------------------- /test/bad/arrays/comprehension03.err: -------------------------------------------------------------------------------- 1 | :3:6: Cannot compare `String` with `Int`. -------------------------------------------------------------------------------- /test/bad/arrays/comprehension04.px: -------------------------------------------------------------------------------- 1 | 2 | [for x in 2..1 if 0 yield false] 3 | -------------------------------------------------------------------------------- /test/bad/arrays/comprehension05.err: -------------------------------------------------------------------------------- 1 | :2:17: Syntax error. -------------------------------------------------------------------------------- /test/bad/arrays/comprehension05.px: -------------------------------------------------------------------------------- 1 | 2 | for x in [true] yield x 3 | -------------------------------------------------------------------------------- /test/bad/arrays/comprehension06.px: -------------------------------------------------------------------------------- 1 | 2 | [for x in 0...10 by true yield x] 3 | -------------------------------------------------------------------------------- /test/bad/arrays/comprehension08.err: -------------------------------------------------------------------------------- 1 | :3:7: Undeclared identifier `i`. -------------------------------------------------------------------------------- /test/bad/arrays/comprehension08.px: -------------------------------------------------------------------------------- 1 | 2 | [for i in 0...10 yield i] 3 | print i 4 | -------------------------------------------------------------------------------- /test/bad/arrays/comprehension10.px: -------------------------------------------------------------------------------- 1 | 2 | [for x in [0] if true, 1 yield x] 3 | -------------------------------------------------------------------------------- /test/bad/arrays/comprehension11.err: -------------------------------------------------------------------------------- 1 | :2:6: Expression cannot be assigned to. -------------------------------------------------------------------------------- /test/bad/arrays/comprehension11.px: -------------------------------------------------------------------------------- 1 | 2 | [for x + 1 in [0] yield x] 3 | -------------------------------------------------------------------------------- /test/bad/arrays/comprehension12.err: -------------------------------------------------------------------------------- 1 | :2:21: Syntax error. -------------------------------------------------------------------------------- /test/bad/arrays/comprehension12.px: -------------------------------------------------------------------------------- 1 | 2 | [for x in [] yield x, x] 3 | -------------------------------------------------------------------------------- /test/bad/arrays/comprehension13.err: -------------------------------------------------------------------------------- 1 | :2:20: Syntax error. -------------------------------------------------------------------------------- /test/bad/arrays/comprehension13.px: -------------------------------------------------------------------------------- 1 | 2 | [for x in [] yield ] 3 | -------------------------------------------------------------------------------- /test/bad/arrays/comprehension14.err: -------------------------------------------------------------------------------- 1 | :2:24: Type `Int` is not iterable. -------------------------------------------------------------------------------- /test/bad/arrays/comprehension14.px: -------------------------------------------------------------------------------- 1 | 2 | [for x in [2] yield ...x] 3 | -------------------------------------------------------------------------------- /test/bad/arrays/comprehension15.err: -------------------------------------------------------------------------------- 1 | :2:23: Invalid usage of an iterative expression. -------------------------------------------------------------------------------- /test/bad/arrays/decl01.err: -------------------------------------------------------------------------------- 1 | :3:1: No implicit conversion from `[Char]` to `[Int]`. -------------------------------------------------------------------------------- /test/bad/arrays/decl01.px: -------------------------------------------------------------------------------- 1 | 2 | a: [Int] 3 | a = ['a'] 4 | -------------------------------------------------------------------------------- /test/bad/arrays/decl02.px: -------------------------------------------------------------------------------- 1 | 2 | a: [(String?*Int)] = [(null, "")] 3 | -------------------------------------------------------------------------------- /test/bad/arrays/decl03.px: -------------------------------------------------------------------------------- 1 | 2 | a: [Int] 3 | b: [[Rat]] = [a] 4 | -------------------------------------------------------------------------------- /test/bad/arrays/decl04.px: -------------------------------------------------------------------------------- 1 | 2 | a: Bool = [] 3 | -------------------------------------------------------------------------------- /test/bad/arrays/decl05.err: -------------------------------------------------------------------------------- 1 | :2:13: No implicit conversion from `String` to `[Char]`. -------------------------------------------------------------------------------- /test/bad/arrays/decl05.px: -------------------------------------------------------------------------------- 1 | 2 | a: [Char] = "" 3 | -------------------------------------------------------------------------------- /test/bad/arrays/decl06.err: -------------------------------------------------------------------------------- 1 | :2:12: No implicit conversion from `{Int}` to `[Int]`. -------------------------------------------------------------------------------- /test/bad/arrays/decl06.px: -------------------------------------------------------------------------------- 1 | 2 | a: [Int] = {6} 3 | -------------------------------------------------------------------------------- /test/bad/arrays/op01.px: -------------------------------------------------------------------------------- 1 | 2 | [1] + [true] 3 | -------------------------------------------------------------------------------- /test/bad/arrays/print01.px: -------------------------------------------------------------------------------- 1 | 2 | print [write] 3 | -------------------------------------------------------------------------------- /test/bad/arrays/range01.err: -------------------------------------------------------------------------------- 1 | :2:5: Invalid range of type `String`. -------------------------------------------------------------------------------- /test/bad/arrays/range01.px: -------------------------------------------------------------------------------- 1 | 2 | ["A".."B"] 3 | -------------------------------------------------------------------------------- /test/bad/arrays/range02.err: -------------------------------------------------------------------------------- 1 | :2:5: Incompatible types `Char` and `Int`. -------------------------------------------------------------------------------- /test/bad/arrays/range02.px: -------------------------------------------------------------------------------- 1 | 2 | ['0'...9] 3 | -------------------------------------------------------------------------------- /test/bad/arrays/range03.err: -------------------------------------------------------------------------------- 1 | :2:14: No implicit conversion from `Bool` to `Int`. -------------------------------------------------------------------------------- /test/bad/arrays/range03.px: -------------------------------------------------------------------------------- 1 | 2 | ['a'..'z' by true] 3 | -------------------------------------------------------------------------------- /test/bad/arrays/range04.err: -------------------------------------------------------------------------------- 1 | :2:4: Invalid usage of an iterative expression. -------------------------------------------------------------------------------- /test/bad/arrays/range04.px: -------------------------------------------------------------------------------- 1 | 2 | [1 by 2] 3 | -------------------------------------------------------------------------------- /test/bad/arrays/range05.err: -------------------------------------------------------------------------------- 1 | :2:1: Incompatible types `Bool` and `Int`. -------------------------------------------------------------------------------- /test/bad/arrays/range05.px: -------------------------------------------------------------------------------- 1 | 2 | [true, 2..4] 3 | -------------------------------------------------------------------------------- /test/bad/arrays/range06.err: -------------------------------------------------------------------------------- 1 | :2:11: Invalid usage of an iterative expression. -------------------------------------------------------------------------------- /test/bad/arrays/range06.px: -------------------------------------------------------------------------------- 1 | 2 | [not false...true] 3 | -------------------------------------------------------------------------------- /test/bad/arrays/slice01.err: -------------------------------------------------------------------------------- 1 | :2:7: No implicit conversion from `Char` to `Int`. -------------------------------------------------------------------------------- /test/bad/arrays/slice02.err: -------------------------------------------------------------------------------- 1 | :2:6: No implicit conversion from `Bool` to `Int`. -------------------------------------------------------------------------------- /test/bad/arrays/slice02.px: -------------------------------------------------------------------------------- 1 | 2 | [0][:true] 3 | -------------------------------------------------------------------------------- /test/bad/arrays/slice03.err: -------------------------------------------------------------------------------- 1 | :2:8: No implicit conversion from `Rat` to `Int`. -------------------------------------------------------------------------------- /test/bad/arrays/slice03.px: -------------------------------------------------------------------------------- 1 | 2 | [""][::1.5] 3 | -------------------------------------------------------------------------------- /test/bad/arrays/slice04.err: -------------------------------------------------------------------------------- 1 | :2:13: Syntax error. -------------------------------------------------------------------------------- /test/bad/arrays/slice04.px: -------------------------------------------------------------------------------- 1 | 2 | [1, 2, 3][::::] 3 | -------------------------------------------------------------------------------- /test/bad/arrays/slice05.err: -------------------------------------------------------------------------------- 1 | :2:4: Type `Char` is not sliceable. -------------------------------------------------------------------------------- /test/bad/arrays/slice05.px: -------------------------------------------------------------------------------- 1 | 2 | 'a'[:] 3 | -------------------------------------------------------------------------------- /test/bad/arrays/spread01.err: -------------------------------------------------------------------------------- 1 | :2:1: Invalid usage of an iterative expression. -------------------------------------------------------------------------------- /test/bad/arrays/spread01.px: -------------------------------------------------------------------------------- 1 | 2 | ...[1] 3 | -------------------------------------------------------------------------------- /test/bad/arrays/spread02.err: -------------------------------------------------------------------------------- 1 | :2:5: Type `Char` is not iterable. -------------------------------------------------------------------------------- /test/bad/arrays/spread02.px: -------------------------------------------------------------------------------- 1 | 2 | [...'a'] 3 | -------------------------------------------------------------------------------- /test/bad/arrays/spread03.err: -------------------------------------------------------------------------------- 1 | :2:6: Invalid usage of an iterative expression. -------------------------------------------------------------------------------- /test/bad/arrays/spread03.px: -------------------------------------------------------------------------------- 1 | 2 | [[1] by 2] 3 | -------------------------------------------------------------------------------- /test/bad/arrays/spread04.err: -------------------------------------------------------------------------------- 1 | :2:6: Invalid usage of an iterative expression. -------------------------------------------------------------------------------- /test/bad/arrays/spread04.px: -------------------------------------------------------------------------------- 1 | 2 | [...1..2] 3 | -------------------------------------------------------------------------------- /test/bad/arrays/spread05.err: -------------------------------------------------------------------------------- 1 | :2:5: Invalid usage of an iterative expression. -------------------------------------------------------------------------------- /test/bad/arrays/spread06.err: -------------------------------------------------------------------------------- 1 | :3:1: Incompatible types `Char` and `Int`. -------------------------------------------------------------------------------- /test/bad/arrays/spread06.px: -------------------------------------------------------------------------------- 1 | 2 | a = ['a'] 3 | [...a, 0] 4 | -------------------------------------------------------------------------------- /test/bad/basic/assg01.err: -------------------------------------------------------------------------------- 1 | :3:1: No implicit conversion from `Rat` to `Int`. -------------------------------------------------------------------------------- /test/bad/basic/assg02.err: -------------------------------------------------------------------------------- 1 | :3:5: No implicit conversion from `Bool` to `Int`. -------------------------------------------------------------------------------- /test/bad/basic/assg03.err: -------------------------------------------------------------------------------- 1 | :3:1: No implicit conversion from `Rat` to `Int`. -------------------------------------------------------------------------------- /test/bad/basic/assg04.px: -------------------------------------------------------------------------------- 1 | 2 | a = 3 3 | a -= true 4 | -------------------------------------------------------------------------------- /test/bad/basic/assg05.err: -------------------------------------------------------------------------------- 1 | :3:5: Syntax error. -------------------------------------------------------------------------------- /test/bad/basic/assg06.err: -------------------------------------------------------------------------------- 1 | :2:1: Expression cannot be assigned to. -------------------------------------------------------------------------------- /test/bad/basic/assg06.px: -------------------------------------------------------------------------------- 1 | 2 | a, b *= 3 3 | -------------------------------------------------------------------------------- /test/bad/basic/assg07.err: -------------------------------------------------------------------------------- 1 | :2:1: Expression cannot be assigned to. -------------------------------------------------------------------------------- /test/bad/basic/assg07.px: -------------------------------------------------------------------------------- 1 | 2 | true = false 3 | -------------------------------------------------------------------------------- /test/bad/basic/bool01.err: -------------------------------------------------------------------------------- 1 | :2:4: No implicit conversion from `Int` to `Bool`. -------------------------------------------------------------------------------- /test/bad/basic/bool01.px: -------------------------------------------------------------------------------- 1 | 2 | if 42 do 3 | a = false 4 | -------------------------------------------------------------------------------- /test/bad/basic/cmp01.err: -------------------------------------------------------------------------------- 1 | :2:6: Cannot compare `Int` with `Bool`. -------------------------------------------------------------------------------- /test/bad/basic/cmp01.px: -------------------------------------------------------------------------------- 1 | 2 | if 3 == true do 3 | skip 4 | -------------------------------------------------------------------------------- /test/bad/basic/cmp02.err: -------------------------------------------------------------------------------- 1 | :2:11: Cannot compare `Int` with `Bool`. -------------------------------------------------------------------------------- /test/bad/basic/comment01.err: -------------------------------------------------------------------------------- 1 | :2:7: Syntax error. -------------------------------------------------------------------------------- /test/bad/basic/comment01.px: -------------------------------------------------------------------------------- 1 | 2 | print 'a{##}' 3 | -------------------------------------------------------------------------------- /test/bad/basic/cond01.err: -------------------------------------------------------------------------------- 1 | :2:9: No implicit conversion from `Int` to `Bool`. -------------------------------------------------------------------------------- /test/bad/basic/cond01.px: -------------------------------------------------------------------------------- 1 | 2 | print 0 ? 1 : 2 3 | -------------------------------------------------------------------------------- /test/bad/basic/cond02.err: -------------------------------------------------------------------------------- 1 | :2:6: Incompatible types `Int` and `Char`. -------------------------------------------------------------------------------- /test/bad/basic/cond03.err: -------------------------------------------------------------------------------- 1 | :2:1: Expression cannot be assigned to. -------------------------------------------------------------------------------- /test/bad/basic/decl01.err: -------------------------------------------------------------------------------- 1 | :3:1: No implicit conversion from `Rat` to `Int`. -------------------------------------------------------------------------------- /test/bad/basic/decl01.px: -------------------------------------------------------------------------------- 1 | 2 | x: Int 3 | x = 2.5 4 | -------------------------------------------------------------------------------- /test/bad/basic/decl02.err: -------------------------------------------------------------------------------- 1 | :2:4: Identifier `T` does not represent a type. -------------------------------------------------------------------------------- /test/bad/basic/decl02.px: -------------------------------------------------------------------------------- 1 | 2 | t: T 3 | -------------------------------------------------------------------------------- /test/bad/basic/decl03.err: -------------------------------------------------------------------------------- 1 | :3:1: Identifier `x` cannot be redefined. -------------------------------------------------------------------------------- /test/bad/basic/decl04.err: -------------------------------------------------------------------------------- 1 | :4:5: Identifier `x` cannot be redefined. -------------------------------------------------------------------------------- /test/bad/basic/decl05.err: -------------------------------------------------------------------------------- 1 | :2:6: Syntax error. -------------------------------------------------------------------------------- /test/bad/basic/decl05.px: -------------------------------------------------------------------------------- 1 | 2 | false: Bool 3 | -------------------------------------------------------------------------------- /test/bad/basic/indent01.err: -------------------------------------------------------------------------------- 1 | :4:4: Syntax error. -------------------------------------------------------------------------------- /test/bad/basic/indent02.err: -------------------------------------------------------------------------------- 1 | :4:2: Syntax error. -------------------------------------------------------------------------------- /test/bad/basic/indent02.px: -------------------------------------------------------------------------------- 1 | 2 | if true do 3 | x = 1 + 4 | 2 5 | -------------------------------------------------------------------------------- /test/bad/basic/indent03.err: -------------------------------------------------------------------------------- 1 | :3:12: Syntax error. -------------------------------------------------------------------------------- /test/bad/basic/indent04.err: -------------------------------------------------------------------------------- 1 | :4:8: Syntax error. -------------------------------------------------------------------------------- /test/bad/basic/indent05.err: -------------------------------------------------------------------------------- 1 | :3:1: Syntax error. -------------------------------------------------------------------------------- /test/bad/basic/indent05.px: -------------------------------------------------------------------------------- 1 | 2 | if true do 3 | x = 1 4 | -------------------------------------------------------------------------------- /test/bad/basic/indent06.err: -------------------------------------------------------------------------------- 1 | :3:1: Syntax error. -------------------------------------------------------------------------------- /test/bad/basic/indent06.px: -------------------------------------------------------------------------------- 1 | 2 | if true do 3 | x = 1 4 | -------------------------------------------------------------------------------- /test/bad/basic/name01.err: -------------------------------------------------------------------------------- 1 | :2:2: Syntax error. -------------------------------------------------------------------------------- /test/bad/basic/name01.px: -------------------------------------------------------------------------------- 1 | 2 | 1a = 2 3 | -------------------------------------------------------------------------------- /test/bad/basic/name02.err: -------------------------------------------------------------------------------- 1 | :2:1: Syntax error. -------------------------------------------------------------------------------- /test/bad/basic/name02.px: -------------------------------------------------------------------------------- 1 | 2 | def = 'x' 3 | -------------------------------------------------------------------------------- /test/bad/basic/placeholder01.err: -------------------------------------------------------------------------------- 1 | :3:7: Variable of type `$A->$B` cannot be printed. -------------------------------------------------------------------------------- /test/bad/basic/placeholder01.px: -------------------------------------------------------------------------------- 1 | 2 | _ = 'x' 3 | print _ 4 | -------------------------------------------------------------------------------- /test/bad/basic/placeholder02.err: -------------------------------------------------------------------------------- 1 | :2:1: Expression cannot be assigned to. -------------------------------------------------------------------------------- /test/bad/basic/placeholder02.px: -------------------------------------------------------------------------------- 1 | 2 | _ += 1 3 | -------------------------------------------------------------------------------- /test/bad/basic/placeholder03.err: -------------------------------------------------------------------------------- 1 | :2:2: Syntax error. -------------------------------------------------------------------------------- /test/bad/basic/placeholder03.px: -------------------------------------------------------------------------------- 1 | 2 | _: Int 3 | -------------------------------------------------------------------------------- /test/bad/basic/print01.err: -------------------------------------------------------------------------------- 1 | :2:17: Too many arguments. -------------------------------------------------------------------------------- /test/bad/basic/print01.px: -------------------------------------------------------------------------------- 1 | 2 | print 1.toString(0) 3 | -------------------------------------------------------------------------------- /test/bad/basic/print02.err: -------------------------------------------------------------------------------- 1 | :2:10: Variable of type `String->Void` cannot be printed. -------------------------------------------------------------------------------- /test/bad/basic/print02.px: -------------------------------------------------------------------------------- 1 | 2 | print 2, write 3 | -------------------------------------------------------------------------------- /test/bad/basic/print03.err: -------------------------------------------------------------------------------- 1 | :3:1: Syntax error. -------------------------------------------------------------------------------- /test/bad/basic/print03.px: -------------------------------------------------------------------------------- 1 | 2 | print 1, 2, 3 | -------------------------------------------------------------------------------- /test/bad/basic/type01.px: -------------------------------------------------------------------------------- 1 | 2 | a = true + 1 3 | -------------------------------------------------------------------------------- /test/bad/basic/type02.px: -------------------------------------------------------------------------------- 1 | 2 | 1 % 2f 3 | -------------------------------------------------------------------------------- /test/bad/basic/type04.err: -------------------------------------------------------------------------------- 1 | :3:1: No implicit conversion from `Bool` to `Int`. -------------------------------------------------------------------------------- /test/bad/basic/type05.err: -------------------------------------------------------------------------------- 1 | :3:1: No implicit conversion from `Rat` to `Int`. -------------------------------------------------------------------------------- /test/bad/basic/type06.err: -------------------------------------------------------------------------------- 1 | :3:1: No implicit conversion from `Rat` to `Int`. -------------------------------------------------------------------------------- /test/bad/basic/var01.err: -------------------------------------------------------------------------------- 1 | :2:5: Undeclared identifier `b`. -------------------------------------------------------------------------------- /test/bad/basic/var01.px: -------------------------------------------------------------------------------- 1 | 2 | a = b 3 | -------------------------------------------------------------------------------- /test/bad/basic/var02.err: -------------------------------------------------------------------------------- 1 | :2:5: Undeclared identifier `a`. -------------------------------------------------------------------------------- /test/bad/basic/var02.px: -------------------------------------------------------------------------------- 1 | 2 | a = a + 2 3 | -------------------------------------------------------------------------------- /test/bad/basic/var03.err: -------------------------------------------------------------------------------- 1 | :4:14: Undeclared identifier `x`. -------------------------------------------------------------------------------- /test/bad/classes/abstract01.err: -------------------------------------------------------------------------------- 1 | :5:1: Cannot instantiate an abstract class `Test`. -------------------------------------------------------------------------------- /test/bad/classes/abstract02.err: -------------------------------------------------------------------------------- 1 | :14:1: Cannot instantiate an abstract class `B`. -------------------------------------------------------------------------------- /test/bad/classes/cmp01.err: -------------------------------------------------------------------------------- 1 | :8:5: Cannot compare `A` with `B`. -------------------------------------------------------------------------------- /test/bad/classes/constructor02.err: -------------------------------------------------------------------------------- 1 | :6:5: Too many arguments. -------------------------------------------------------------------------------- /test/bad/classes/constructor03.err: -------------------------------------------------------------------------------- 1 | :5:5: Repeated member ``. -------------------------------------------------------------------------------- /test/bad/classes/constructor04.err: -------------------------------------------------------------------------------- 1 | :4:19: Type `A` has no attribute `y`. -------------------------------------------------------------------------------- /test/bad/classes/constructor05.err: -------------------------------------------------------------------------------- 1 | :3:16: Syntax error. -------------------------------------------------------------------------------- /test/bad/classes/constructor06.err: -------------------------------------------------------------------------------- 1 | :8:9: `super` cannot be used here. -------------------------------------------------------------------------------- /test/bad/classes/constructor07.err: -------------------------------------------------------------------------------- 1 | :3:17: Syntax error. -------------------------------------------------------------------------------- /test/bad/classes/destructor01.err: -------------------------------------------------------------------------------- 1 | :3:15: Syntax error. -------------------------------------------------------------------------------- /test/bad/classes/destructor02.err: -------------------------------------------------------------------------------- 1 | :8:9: `super` cannot be used here. -------------------------------------------------------------------------------- /test/bad/classes/destructor03.err: -------------------------------------------------------------------------------- 1 | :3:16: Syntax error. -------------------------------------------------------------------------------- /test/bad/classes/inheritance01.err: -------------------------------------------------------------------------------- 1 | :2:10: Type `String` is not a class. -------------------------------------------------------------------------------- /test/bad/classes/inheritance01.px: -------------------------------------------------------------------------------- 1 | 2 | class A: String def 3 | x: Int 4 | -------------------------------------------------------------------------------- /test/bad/classes/inheritance02.px: -------------------------------------------------------------------------------- 1 | 2 | class A: XYZ def 3 | x: Int 4 | -------------------------------------------------------------------------------- /test/bad/classes/inheritance05.err: -------------------------------------------------------------------------------- 1 | :6:5: Repeated member `x`. -------------------------------------------------------------------------------- /test/bad/classes/method01.err: -------------------------------------------------------------------------------- 1 | :6:16: Undeclared identifier `x`. -------------------------------------------------------------------------------- /test/bad/classes/method02.err: -------------------------------------------------------------------------------- 1 | :6:9: Too many arguments. -------------------------------------------------------------------------------- /test/bad/classes/method03.err: -------------------------------------------------------------------------------- 1 | :6:10: Unexpected argument `a`. -------------------------------------------------------------------------------- /test/bad/classes/method04.err: -------------------------------------------------------------------------------- 1 | :3:22: No implicit conversion from `Int` to `Char`. -------------------------------------------------------------------------------- /test/bad/classes/method05.err: -------------------------------------------------------------------------------- 1 | :7:1: Expression cannot be assigned to. -------------------------------------------------------------------------------- /test/bad/classes/method06.err: -------------------------------------------------------------------------------- 1 | :6:1: Undeclared identifier `f`. -------------------------------------------------------------------------------- /test/bad/classes/method07.err: -------------------------------------------------------------------------------- 1 | :7:5: Repeated member `f`. -------------------------------------------------------------------------------- /test/bad/classes/name01.err: -------------------------------------------------------------------------------- 1 | :5:1: Identifier `A` cannot be redefined. -------------------------------------------------------------------------------- /test/bad/classes/name01.px: -------------------------------------------------------------------------------- 1 | 2 | class A def 3 | x: Int 4 | 5 | A = A 6 | -------------------------------------------------------------------------------- /test/bad/classes/name02.err: -------------------------------------------------------------------------------- 1 | :5:1: Identifier `A` cannot be redefined. -------------------------------------------------------------------------------- /test/bad/classes/name03.err: -------------------------------------------------------------------------------- 1 | :5:7: Identifier `Class` cannot be redefined. -------------------------------------------------------------------------------- /test/bad/classes/name04.err: -------------------------------------------------------------------------------- 1 | :2:7: Syntax error. -------------------------------------------------------------------------------- /test/bad/classes/name04.px: -------------------------------------------------------------------------------- 1 | 2 | class _ def 3 | x: Int 4 | -------------------------------------------------------------------------------- /test/bad/classes/name05.err: -------------------------------------------------------------------------------- 1 | :3:5: Syntax error. -------------------------------------------------------------------------------- /test/bad/classes/name05.px: -------------------------------------------------------------------------------- 1 | 2 | class A def 3 | _: Bool 4 | -------------------------------------------------------------------------------- /test/bad/classes/print01.err: -------------------------------------------------------------------------------- 1 | :3:5: Invalid type signature of member `toString`. -------------------------------------------------------------------------------- /test/bad/classes/print02.err: -------------------------------------------------------------------------------- 1 | :3:5: Invalid type signature of member `toString`. -------------------------------------------------------------------------------- /test/bad/classes/print03.err: -------------------------------------------------------------------------------- 1 | :3:5: Invalid type signature of member `toString`. -------------------------------------------------------------------------------- /test/bad/classes/print04.err: -------------------------------------------------------------------------------- 1 | :3:5: Invalid type signature of member `toString`. -------------------------------------------------------------------------------- /test/bad/classes/struct01.err: -------------------------------------------------------------------------------- 1 | :6:8: Type `Struct` has no attribute `x`. -------------------------------------------------------------------------------- /test/bad/classes/struct02.err: -------------------------------------------------------------------------------- 1 | :6:1: No implicit conversion from `Rat` to `Int`. -------------------------------------------------------------------------------- /test/bad/classes/struct03.err: -------------------------------------------------------------------------------- 1 | :3:15: No implicit conversion from `Int` to `Char`. -------------------------------------------------------------------------------- /test/bad/classes/struct03.px: -------------------------------------------------------------------------------- 1 | 2 | class Struct def 3 | c: Char = 5 4 | -------------------------------------------------------------------------------- /test/bad/classes/struct04.err: -------------------------------------------------------------------------------- 1 | :3:8: Identifier `Test` does not represent a type. -------------------------------------------------------------------------------- /test/bad/classes/struct05.err: -------------------------------------------------------------------------------- 1 | :3:8: Identifier `Test` does not represent a type. -------------------------------------------------------------------------------- /test/bad/classes/struct06.err: -------------------------------------------------------------------------------- 1 | :4:5: Repeated member `x`. -------------------------------------------------------------------------------- /test/bad/classes/struct07.err: -------------------------------------------------------------------------------- 1 | :5:2: Too many arguments. -------------------------------------------------------------------------------- /test/bad/classes/struct07.px: -------------------------------------------------------------------------------- 1 | 2 | class A def 3 | x: Int 4 | 5 | A(1, 2) 6 | -------------------------------------------------------------------------------- /test/bad/classes/struct08.err: -------------------------------------------------------------------------------- 1 | :5:3: No implicit conversion from `Float` to `Rat`. -------------------------------------------------------------------------------- /test/bad/classes/struct08.px: -------------------------------------------------------------------------------- 1 | 2 | class A def 3 | x: Rat 4 | 5 | A(8f) 6 | -------------------------------------------------------------------------------- /test/bad/classes/struct09.err: -------------------------------------------------------------------------------- 1 | :5:3: Unexpected argument `y`. -------------------------------------------------------------------------------- /test/bad/classes/struct09.px: -------------------------------------------------------------------------------- 1 | 2 | class A def 3 | x: Int 4 | 5 | A(y = 0) 6 | -------------------------------------------------------------------------------- /test/bad/classes/struct10.err: -------------------------------------------------------------------------------- 1 | :2:1: `this` cannot be used here. -------------------------------------------------------------------------------- /test/bad/classes/struct10.px: -------------------------------------------------------------------------------- 1 | 2 | this 3 | -------------------------------------------------------------------------------- /test/bad/classes/struct11.err: -------------------------------------------------------------------------------- 1 | :5:31: `this` cannot be used here. -------------------------------------------------------------------------------- /test/bad/classes/super01.err: -------------------------------------------------------------------------------- 1 | :4:9: `super` cannot be used here. -------------------------------------------------------------------------------- /test/bad/classes/super02.err: -------------------------------------------------------------------------------- 1 | :8:9: `super` cannot be used here. -------------------------------------------------------------------------------- /test/bad/classes/super03.err: -------------------------------------------------------------------------------- 1 | :10:9: `super` cannot be used here. -------------------------------------------------------------------------------- /test/bad/classes/super04.err: -------------------------------------------------------------------------------- 1 | :2:1: Expression cannot be assigned to. -------------------------------------------------------------------------------- /test/bad/classes/super04.px: -------------------------------------------------------------------------------- 1 | 2 | super = 1 3 | -------------------------------------------------------------------------------- /test/bad/classes/super05.err: -------------------------------------------------------------------------------- 1 | :3:5: `super` cannot be used here. -------------------------------------------------------------------------------- /test/bad/classes/type01.err: -------------------------------------------------------------------------------- 1 | :4:7: Identifier `A` cannot be redefined. -------------------------------------------------------------------------------- /test/bad/classes/type01.px: -------------------------------------------------------------------------------- 1 | 2 | A = 1 3 | 4 | class A def 5 | x: Int 6 | -------------------------------------------------------------------------------- /test/bad/classes/type02.err: -------------------------------------------------------------------------------- 1 | :8:8: No implicit conversion from `B` to `A`. -------------------------------------------------------------------------------- /test/bad/classes/type03.err: -------------------------------------------------------------------------------- 1 | :8:10: No implicit conversion from `[A]` to `[B]`. -------------------------------------------------------------------------------- /test/bad/classes/type04.err: -------------------------------------------------------------------------------- 1 | :13:3: No implicit conversion from `{B}` to `{A}`. -------------------------------------------------------------------------------- /test/bad/classes/type05.err: -------------------------------------------------------------------------------- 1 | :9:11: No implicit conversion from `[B]` to `[A]?`. -------------------------------------------------------------------------------- /test/bad/dictionaries/cmp01.px: -------------------------------------------------------------------------------- 1 | 2 | {0: 1} <= {2: 3} 3 | -------------------------------------------------------------------------------- /test/bad/dictionaries/cmp03.px: -------------------------------------------------------------------------------- 1 | 2 | d = {3: readLine} 3 | d == d 4 | -------------------------------------------------------------------------------- /test/bad/dictionaries/comprehension01.err: -------------------------------------------------------------------------------- 1 | :2:23: Syntax error. -------------------------------------------------------------------------------- /test/bad/dictionaries/comprehension01.px: -------------------------------------------------------------------------------- 1 | 2 | {for d in [{:}] yield ...:d} 3 | -------------------------------------------------------------------------------- /test/bad/dictionaries/comprehension02.err: -------------------------------------------------------------------------------- 1 | :2:20: Syntax error. -------------------------------------------------------------------------------- /test/bad/dictionaries/comprehension02.px: -------------------------------------------------------------------------------- 1 | 2 | {for _ in [] yield :} 3 | -------------------------------------------------------------------------------- /test/bad/dictionaries/comprehension03.err: -------------------------------------------------------------------------------- 1 | :2:24: Syntax error. -------------------------------------------------------------------------------- /test/bad/dictionaries/comprehension03.px: -------------------------------------------------------------------------------- 1 | 2 | {for _ in [] yield 1: 2, 3} 3 | -------------------------------------------------------------------------------- /test/bad/dictionaries/comprehension04.px: -------------------------------------------------------------------------------- 1 | 2 | {for x in [] yield 1..1: x} 3 | -------------------------------------------------------------------------------- /test/bad/dictionaries/decl01.px: -------------------------------------------------------------------------------- 1 | 2 | d: {Int:String} 3 | d = {"": 0} 4 | -------------------------------------------------------------------------------- /test/bad/dictionaries/decl02.px: -------------------------------------------------------------------------------- 1 | 2 | d: {Float:String?} = {'1': null} 3 | -------------------------------------------------------------------------------- /test/bad/dictionaries/decl03.px: -------------------------------------------------------------------------------- 1 | 2 | d1 = {0: ""} 3 | d2: {Float:String} = d1 4 | -------------------------------------------------------------------------------- /test/bad/dictionaries/dict01.err: -------------------------------------------------------------------------------- 1 | :2:10: No implicit conversion from `Int` to `Char`. -------------------------------------------------------------------------------- /test/bad/dictionaries/dict01.px: -------------------------------------------------------------------------------- 1 | 2 | {'x': 0}[0] 3 | -------------------------------------------------------------------------------- /test/bad/dictionaries/dict02.err: -------------------------------------------------------------------------------- 1 | :2:1: Type `[String]` is not hashable. -------------------------------------------------------------------------------- /test/bad/dictionaries/dict02.px: -------------------------------------------------------------------------------- 1 | 2 | {[""]: ""} 3 | -------------------------------------------------------------------------------- /test/bad/dictionaries/dict03.err: -------------------------------------------------------------------------------- 1 | :2:1: Incompatible types `Int` and `Bool`. -------------------------------------------------------------------------------- /test/bad/dictionaries/dict04.err: -------------------------------------------------------------------------------- 1 | :2:1: Incompatible types `Rat` and `Char`. -------------------------------------------------------------------------------- /test/bad/dictionaries/dict05.err: -------------------------------------------------------------------------------- 1 | :2:1: Incompatible types `Int` and `Bool`. -------------------------------------------------------------------------------- /test/bad/dictionaries/dict05.px: -------------------------------------------------------------------------------- 1 | 2 | {1: true, false: 0} 3 | -------------------------------------------------------------------------------- /test/bad/dictionaries/dict06.err: -------------------------------------------------------------------------------- 1 | :2:9: Type `{String:[]}` is not sliceable. -------------------------------------------------------------------------------- /test/bad/dictionaries/dict06.px: -------------------------------------------------------------------------------- 1 | 2 | {"": []}[::] 3 | -------------------------------------------------------------------------------- /test/bad/dictionaries/op01.px: -------------------------------------------------------------------------------- 1 | 2 | {5: 'x'} + {'x': 5} 3 | -------------------------------------------------------------------------------- /test/bad/dictionaries/print01.px: -------------------------------------------------------------------------------- 1 | 2 | print {true: write} 3 | -------------------------------------------------------------------------------- /test/bad/dictionaries/range01.err: -------------------------------------------------------------------------------- 1 | :2:9: Syntax error. -------------------------------------------------------------------------------- /test/bad/dictionaries/range01.px: -------------------------------------------------------------------------------- 1 | 2 | {1..2, 3: 4} 3 | -------------------------------------------------------------------------------- /test/bad/dictionaries/range02.err: -------------------------------------------------------------------------------- 1 | :2:24: Syntax error. -------------------------------------------------------------------------------- /test/bad/dictionaries/range02.px: -------------------------------------------------------------------------------- 1 | 2 | {false: true, 'a'...'z'} 3 | -------------------------------------------------------------------------------- /test/bad/dictionaries/range03.err: -------------------------------------------------------------------------------- 1 | :2:7: Invalid usage of an iterative expression. -------------------------------------------------------------------------------- /test/bad/dictionaries/range03.px: -------------------------------------------------------------------------------- 1 | 2 | {false...true: 0} 3 | -------------------------------------------------------------------------------- /test/bad/dictionaries/spread01.err: -------------------------------------------------------------------------------- 1 | :2:6: Type `[Int]` is not a dictionary. -------------------------------------------------------------------------------- /test/bad/dictionaries/spread01.px: -------------------------------------------------------------------------------- 1 | 2 | {...:[1]} 3 | -------------------------------------------------------------------------------- /test/bad/dictionaries/spread02.err: -------------------------------------------------------------------------------- 1 | :2:20: Syntax error. -------------------------------------------------------------------------------- /test/bad/dictionaries/spread02.px: -------------------------------------------------------------------------------- 1 | 2 | {'x': false, ...{:}} 3 | -------------------------------------------------------------------------------- /test/bad/dictionaries/spread03.err: -------------------------------------------------------------------------------- 1 | :2:2: Syntax error. -------------------------------------------------------------------------------- /test/bad/dictionaries/spread03.px: -------------------------------------------------------------------------------- 1 | 2 | [...:{0: 0}] 3 | -------------------------------------------------------------------------------- /test/bad/functions/args01.err: -------------------------------------------------------------------------------- 1 | :3:14: Cannot compare `Int` with `Char`. -------------------------------------------------------------------------------- /test/bad/functions/args02.err: -------------------------------------------------------------------------------- 1 | :3:5: No implicit conversion from `Int` to `String`. -------------------------------------------------------------------------------- /test/bad/functions/args03.err: -------------------------------------------------------------------------------- 1 | :2:17: No implicit conversion from `Bool` to `Int`. -------------------------------------------------------------------------------- /test/bad/functions/args04.px: -------------------------------------------------------------------------------- 1 | 2 | func f(x: Type): Void def 3 | return 4 | -------------------------------------------------------------------------------- /test/bad/functions/call01.err: -------------------------------------------------------------------------------- 1 | :5:3: No implicit conversion from `String` to `Int`. -------------------------------------------------------------------------------- /test/bad/functions/call02.err: -------------------------------------------------------------------------------- 1 | :5:3: No implicit conversion from `Bool` to `Int`. -------------------------------------------------------------------------------- /test/bad/functions/call03.err: -------------------------------------------------------------------------------- 1 | :5:2: Too many arguments. -------------------------------------------------------------------------------- /test/bad/functions/call04.err: -------------------------------------------------------------------------------- 1 | :5:2: Missing required argument `x`. -------------------------------------------------------------------------------- /test/bad/functions/call05.err: -------------------------------------------------------------------------------- 1 | :5:2: Missing required argument `b`. -------------------------------------------------------------------------------- /test/bad/functions/call06.err: -------------------------------------------------------------------------------- 1 | :5:7: No implicit conversion from `Bool` to `Int`. -------------------------------------------------------------------------------- /test/bad/functions/call07.err: -------------------------------------------------------------------------------- 1 | :5:3: Unexpected argument `y`. -------------------------------------------------------------------------------- /test/bad/functions/call08.err: -------------------------------------------------------------------------------- 1 | :5:2: Missing required argument `b`. -------------------------------------------------------------------------------- /test/bad/functions/call10.err: -------------------------------------------------------------------------------- 1 | :5:13: Repeated argument `b`. -------------------------------------------------------------------------------- /test/bad/functions/call11.err: -------------------------------------------------------------------------------- 1 | :5:7: Repeated argument `s`. -------------------------------------------------------------------------------- /test/bad/functions/name01.err: -------------------------------------------------------------------------------- 1 | :5:1: Identifier `f` cannot be redefined. -------------------------------------------------------------------------------- /test/bad/functions/name02.err: -------------------------------------------------------------------------------- 1 | :5:1: Identifier `f` cannot be redefined. -------------------------------------------------------------------------------- /test/bad/functions/name03.err: -------------------------------------------------------------------------------- 1 | :5:6: Identifier `function` cannot be redefined. -------------------------------------------------------------------------------- /test/bad/functions/name04.err: -------------------------------------------------------------------------------- 1 | :2:6: Syntax error. -------------------------------------------------------------------------------- /test/bad/functions/name04.px: -------------------------------------------------------------------------------- 1 | 2 | func _() def 3 | return 4 | -------------------------------------------------------------------------------- /test/bad/functions/nested01.err: -------------------------------------------------------------------------------- 1 | :4:9: `break` cannot be used here. -------------------------------------------------------------------------------- /test/bad/functions/nested02.err: -------------------------------------------------------------------------------- 1 | :6:1: Undeclared identifier `h`. -------------------------------------------------------------------------------- /test/bad/functions/placeholder01.err: -------------------------------------------------------------------------------- 1 | :5:5: Syntax error. -------------------------------------------------------------------------------- /test/bad/functions/print01.err: -------------------------------------------------------------------------------- 1 | :5:7: Variable of type `()->Void` cannot be printed. -------------------------------------------------------------------------------- /test/bad/functions/return01.err: -------------------------------------------------------------------------------- 1 | :3:5: No implicit conversion from `Bool` to `Int`. -------------------------------------------------------------------------------- /test/bad/functions/return03.err: -------------------------------------------------------------------------------- 1 | :3:5: No implicit conversion from `Char` to `Void`. -------------------------------------------------------------------------------- /test/bad/functions/return04.err: -------------------------------------------------------------------------------- 1 | :3:5: No implicit conversion from `Int` to `Bool`. -------------------------------------------------------------------------------- /test/bad/functions/return05.err: -------------------------------------------------------------------------------- 1 | :2:1: `return` cannot be used here. -------------------------------------------------------------------------------- /test/bad/functions/return05.px: -------------------------------------------------------------------------------- 1 | 2 | return 3 | -------------------------------------------------------------------------------- /test/bad/functions/type05.err: -------------------------------------------------------------------------------- 1 | :3:2: Type `String` is not callable. -------------------------------------------------------------------------------- /test/bad/functions/type05.px: -------------------------------------------------------------------------------- 1 | 2 | f = "func" 3 | f() 4 | -------------------------------------------------------------------------------- /test/bad/functions/type06.err: -------------------------------------------------------------------------------- 1 | :6:2: Too few arguments. -------------------------------------------------------------------------------- /test/bad/functions/type07.err: -------------------------------------------------------------------------------- 1 | :6:3: Unexpected argument `y`. -------------------------------------------------------------------------------- /test/bad/functions/type08.err: -------------------------------------------------------------------------------- 1 | :6:13: Too few arguments. -------------------------------------------------------------------------------- /test/bad/functions/type09.err: -------------------------------------------------------------------------------- 1 | :6:14: Unexpected argument `b`. -------------------------------------------------------------------------------- /test/bad/functions/type10.err: -------------------------------------------------------------------------------- 1 | :2:6: Syntax error. -------------------------------------------------------------------------------- /test/bad/functions/type10.px: -------------------------------------------------------------------------------- 1 | 2 | f: ()*Int 3 | -------------------------------------------------------------------------------- /test/bad/functions/variadic02.err: -------------------------------------------------------------------------------- 1 | :2:11: Syntax error. -------------------------------------------------------------------------------- /test/bad/functions/variadic02.px: -------------------------------------------------------------------------------- 1 | 2 | func f(...): Void def 3 | return 4 | -------------------------------------------------------------------------------- /test/bad/functions/variadic06.err: -------------------------------------------------------------------------------- 1 | :5:6: Repeated argument `args`. -------------------------------------------------------------------------------- /test/bad/functions/void02.err: -------------------------------------------------------------------------------- 1 | :2:1: Cannot declare variable of type `Void`. -------------------------------------------------------------------------------- /test/bad/functions/void02.px: -------------------------------------------------------------------------------- 1 | 2 | x: Void 3 | -------------------------------------------------------------------------------- /test/bad/functions/void04.err: -------------------------------------------------------------------------------- 1 | :2:21: `[Void]` is not a valid return type. -------------------------------------------------------------------------------- /test/bad/functions/void05.px: -------------------------------------------------------------------------------- 1 | 2 | f: Bool->Void?->Int 3 | -------------------------------------------------------------------------------- /test/bad/generators/generator01.err: -------------------------------------------------------------------------------- 1 | :3:5: Generator must not return a value. -------------------------------------------------------------------------------- /test/bad/generators/iterable02.err: -------------------------------------------------------------------------------- 1 | :3:14: Type `Char` is not iterable. -------------------------------------------------------------------------------- /test/bad/generators/iterable03.err: -------------------------------------------------------------------------------- 1 | :3:14: Invalid usage of an iterative expression. -------------------------------------------------------------------------------- /test/bad/generators/nested01.err: -------------------------------------------------------------------------------- 1 | :4:9: `yield` cannot be used here. -------------------------------------------------------------------------------- /test/bad/generators/type04.err: -------------------------------------------------------------------------------- 1 | :3:2: Type `[Int]...` is not indexable. -------------------------------------------------------------------------------- /test/bad/generators/type04.px: -------------------------------------------------------------------------------- 1 | 2 | g: [Int]... 3 | g[0] 4 | -------------------------------------------------------------------------------- /test/bad/generators/void01.err: -------------------------------------------------------------------------------- 1 | :3:5: No implicit conversion from `Bool` to `Void`. -------------------------------------------------------------------------------- /test/bad/generators/void02.err: -------------------------------------------------------------------------------- 1 | :3:5: No implicit conversion from `Void` to `Int?`. -------------------------------------------------------------------------------- /test/bad/generators/void03.err: -------------------------------------------------------------------------------- 1 | :3:5: Cannot declare variable of type `Void`. -------------------------------------------------------------------------------- /test/bad/generators/void03.px: -------------------------------------------------------------------------------- 1 | 2 | g: Void... 3 | [...g] 4 | -------------------------------------------------------------------------------- /test/bad/generators/void04.err: -------------------------------------------------------------------------------- 1 | :2:1: Cannot declare variable of type `Int*Void...`. -------------------------------------------------------------------------------- /test/bad/generators/void04.px: -------------------------------------------------------------------------------- 1 | 2 | g: Int*Void... 3 | -------------------------------------------------------------------------------- /test/bad/generators/void05.err: -------------------------------------------------------------------------------- 1 | :2:24: `[Void]...` is not a valid return type. -------------------------------------------------------------------------------- /test/bad/generators/yield01.err: -------------------------------------------------------------------------------- 1 | :2:1: `yield` cannot be used here. -------------------------------------------------------------------------------- /test/bad/generators/yield01.px: -------------------------------------------------------------------------------- 1 | 2 | yield 1 3 | -------------------------------------------------------------------------------- /test/bad/generators/yield02.err: -------------------------------------------------------------------------------- 1 | :3:5: `yield` cannot be used here. -------------------------------------------------------------------------------- /test/bad/generics/call08.err: -------------------------------------------------------------------------------- 1 | :5:3: No implicit conversion from `Rat` to `Int`. -------------------------------------------------------------------------------- /test/bad/generics/def01.err: -------------------------------------------------------------------------------- 1 | :2:11: Identifier `T` does not represent a type. -------------------------------------------------------------------------------- /test/bad/generics/def02.err: -------------------------------------------------------------------------------- 1 | :2:8: Syntax error. -------------------------------------------------------------------------------- /test/bad/generics/def02.px: -------------------------------------------------------------------------------- 1 | 2 | func f<>(): Void def 3 | return 4 | -------------------------------------------------------------------------------- /test/bad/generics/def06.err: -------------------------------------------------------------------------------- 1 | :2:11: Identifier `T` does not represent a type. -------------------------------------------------------------------------------- /test/bad/generics/def09.px: -------------------------------------------------------------------------------- 1 | 2 | func f(): Void def 3 | x: T 4 | 5 | f() 6 | -------------------------------------------------------------------------------- /test/bad/generics/method01.err: -------------------------------------------------------------------------------- 1 | :3:5: Generic methods are not supported. -------------------------------------------------------------------------------- /test/bad/generics/method02.err: -------------------------------------------------------------------------------- 1 | :3:5: Generic methods are not supported. -------------------------------------------------------------------------------- /test/bad/generics/method03.err: -------------------------------------------------------------------------------- 1 | :3:17: Cannot settle return type of the function. -------------------------------------------------------------------------------- /test/bad/generics/variadic01.err: -------------------------------------------------------------------------------- 1 | :5:3: Incompatible types `Int` and `Char`. -------------------------------------------------------------------------------- /test/bad/lambdas/call01.err: -------------------------------------------------------------------------------- 1 | :3:2: Too few arguments. -------------------------------------------------------------------------------- /test/bad/lambdas/call01.px: -------------------------------------------------------------------------------- 1 | 2 | f: Int->Int = _ 3 | f() 4 | -------------------------------------------------------------------------------- /test/bad/lambdas/call02.err: -------------------------------------------------------------------------------- 1 | :3:2: Too many arguments. -------------------------------------------------------------------------------- /test/bad/lambdas/call02.px: -------------------------------------------------------------------------------- 1 | 2 | f: Int->Int = _ 3 | f(1, 2) 4 | -------------------------------------------------------------------------------- /test/bad/lambdas/call03.px: -------------------------------------------------------------------------------- 1 | 2 | f = lambda: true * false 3 | f() 4 | -------------------------------------------------------------------------------- /test/bad/lambdas/call04.err: -------------------------------------------------------------------------------- 1 | :3:2: Missing required argument `$b`. -------------------------------------------------------------------------------- /test/bad/lambdas/call04.px: -------------------------------------------------------------------------------- 1 | 2 | f = _-_ 3 | f(_) 4 | -------------------------------------------------------------------------------- /test/bad/lambdas/call05.px: -------------------------------------------------------------------------------- 1 | 2 | a = +_ 3 | b = a 4 | a(true) 5 | -------------------------------------------------------------------------------- /test/bad/lambdas/call06.px: -------------------------------------------------------------------------------- 1 | 2 | a = _! 3 | b = a 4 | b("") 5 | -------------------------------------------------------------------------------- /test/bad/lambdas/lambda01.err: -------------------------------------------------------------------------------- 1 | :5:13: No implicit conversion from `Int` to `String`. -------------------------------------------------------------------------------- /test/bad/lambdas/lambda05.err: -------------------------------------------------------------------------------- 1 | :5:3: No implicit conversion from `Int` to `Char`. -------------------------------------------------------------------------------- /test/bad/lambdas/lambda06.err: -------------------------------------------------------------------------------- 1 | :5:3: No implicit conversion from `Char` to `Int`. -------------------------------------------------------------------------------- /test/bad/lambdas/lambda09.err: -------------------------------------------------------------------------------- 1 | :5:3: No implicit conversion from `Bool` to `Void`. -------------------------------------------------------------------------------- /test/bad/lambdas/partial02.err: -------------------------------------------------------------------------------- 1 | :2:6: Syntax error. -------------------------------------------------------------------------------- /test/bad/lambdas/partial02.px: -------------------------------------------------------------------------------- 1 | 2 | write@ ("") 3 | -------------------------------------------------------------------------------- /test/bad/lambdas/var01.err: -------------------------------------------------------------------------------- 1 | :2:15: No implicit conversion from `Rat` to `Int`. -------------------------------------------------------------------------------- /test/bad/lambdas/var01.px: -------------------------------------------------------------------------------- 1 | 2 | f: Int->Int = _/2 3 | -------------------------------------------------------------------------------- /test/bad/lambdas/var02.err: -------------------------------------------------------------------------------- 1 | :3:1: Identifier `f` cannot be redefined. -------------------------------------------------------------------------------- /test/bad/loops/break01.err: -------------------------------------------------------------------------------- 1 | :2:1: `break` cannot be used here. -------------------------------------------------------------------------------- /test/bad/loops/break01.px: -------------------------------------------------------------------------------- 1 | 2 | break 3 | -------------------------------------------------------------------------------- /test/bad/loops/continue01.err: -------------------------------------------------------------------------------- 1 | :5:5: `continue` cannot be used here. -------------------------------------------------------------------------------- /test/bad/loops/else01.err: -------------------------------------------------------------------------------- 1 | :7:7: Undeclared identifier `a`. -------------------------------------------------------------------------------- /test/bad/loops/else02.err: -------------------------------------------------------------------------------- 1 | :5:11: Undeclared identifier `b`. -------------------------------------------------------------------------------- /test/bad/loops/else03.err: -------------------------------------------------------------------------------- 1 | :5:11: Undeclared identifier `c`. -------------------------------------------------------------------------------- /test/bad/loops/else04.err: -------------------------------------------------------------------------------- 1 | :5:5: `break` cannot be used here. -------------------------------------------------------------------------------- /test/bad/loops/for01.err: -------------------------------------------------------------------------------- 1 | :3:5: No implicit conversion from `Int` to `Char`. -------------------------------------------------------------------------------- /test/bad/loops/for01.px: -------------------------------------------------------------------------------- 1 | 2 | x = 'x' 3 | for x in 0..3 do 4 | skip 5 | -------------------------------------------------------------------------------- /test/bad/loops/for02.err: -------------------------------------------------------------------------------- 1 | :3:5: No implicit conversion from `Bool` to `Int`. -------------------------------------------------------------------------------- /test/bad/loops/for02.px: -------------------------------------------------------------------------------- 1 | 2 | for i in 0..3 do 3 | i = true 4 | -------------------------------------------------------------------------------- /test/bad/loops/for03.err: -------------------------------------------------------------------------------- 1 | :2:10: Type `Bool` is not iterable. -------------------------------------------------------------------------------- /test/bad/loops/for03.px: -------------------------------------------------------------------------------- 1 | 2 | for i in true do 3 | skip 4 | -------------------------------------------------------------------------------- /test/bad/loops/for04.err: -------------------------------------------------------------------------------- 1 | :2:13: Invalid range of type `String`. -------------------------------------------------------------------------------- /test/bad/loops/for04.px: -------------------------------------------------------------------------------- 1 | 2 | for i in 'a'.."a" do 3 | skip 4 | -------------------------------------------------------------------------------- /test/bad/loops/for05.err: -------------------------------------------------------------------------------- 1 | :2:18: No implicit conversion from `String` to `Int`. -------------------------------------------------------------------------------- /test/bad/loops/for05.px: -------------------------------------------------------------------------------- 1 | 2 | for i in 5..4 by "3" do 3 | skip 4 | -------------------------------------------------------------------------------- /test/bad/loops/for06.err: -------------------------------------------------------------------------------- 1 | :4:10: Undeclared identifier `j`. -------------------------------------------------------------------------------- /test/bad/loops/for07.err: -------------------------------------------------------------------------------- 1 | :2:13: Invalid range of type `[Int]`. -------------------------------------------------------------------------------- /test/bad/loops/for07.px: -------------------------------------------------------------------------------- 1 | 2 | for c in [0]... do 3 | skip 4 | -------------------------------------------------------------------------------- /test/bad/loops/for08.err: -------------------------------------------------------------------------------- 1 | :2:20: Incompatible types `Int` and `Char`. -------------------------------------------------------------------------------- /test/bad/loops/for09.px: -------------------------------------------------------------------------------- 1 | 2 | for a, b, c in 1..2, 3...4 do 3 | skip 4 | -------------------------------------------------------------------------------- /test/bad/loops/for11.err: -------------------------------------------------------------------------------- 1 | :3:8: No implicit conversion from `Int` to `Char`. -------------------------------------------------------------------------------- /test/bad/loops/for13.err: -------------------------------------------------------------------------------- 1 | :2:21: Type `Int` is not iterable. -------------------------------------------------------------------------------- /test/bad/loops/for13.px: -------------------------------------------------------------------------------- 1 | 2 | for t in 1..2 by 1, 2 do 3 | skip 4 | -------------------------------------------------------------------------------- /test/bad/loops/for14.err: -------------------------------------------------------------------------------- 1 | :2:33: Type `Int` is not iterable. -------------------------------------------------------------------------------- /test/bad/loops/for15.err: -------------------------------------------------------------------------------- 1 | :2:18: No implicit conversion from `Rat` to `Int`. -------------------------------------------------------------------------------- /test/bad/loops/for16.err: -------------------------------------------------------------------------------- 1 | :4:7: Undeclared identifier `x`. -------------------------------------------------------------------------------- /test/bad/loops/for16.px: -------------------------------------------------------------------------------- 1 | 2 | for x in [1] do 3 | skip 4 | print x 5 | -------------------------------------------------------------------------------- /test/bad/loops/for17.err: -------------------------------------------------------------------------------- 1 | :2:11: Incompatible types `Int` and `Bool`. -------------------------------------------------------------------------------- /test/bad/loops/for17.px: -------------------------------------------------------------------------------- 1 | 2 | for x in 0..true do 3 | skip 4 | -------------------------------------------------------------------------------- /test/bad/loops/for18.err: -------------------------------------------------------------------------------- 1 | :2:26: No implicit conversion from `Bool` to `Int`. -------------------------------------------------------------------------------- /test/bad/loops/for19.err: -------------------------------------------------------------------------------- 1 | :2:35: No implicit conversion from `Char` to `Int`. -------------------------------------------------------------------------------- /test/bad/loops/for20.err: -------------------------------------------------------------------------------- 1 | :2:23: No implicit conversion from `String` to `Rat`. -------------------------------------------------------------------------------- /test/bad/loops/for20.px: -------------------------------------------------------------------------------- 1 | 2 | for x in 0.1...0.2 by "0" do 3 | skip 4 | -------------------------------------------------------------------------------- /test/bad/loops/for21.px: -------------------------------------------------------------------------------- 1 | 2 | for a, b in 1..2 do 3 | skip 4 | -------------------------------------------------------------------------------- /test/bad/loops/for23.err: -------------------------------------------------------------------------------- 1 | :2:18: No implicit conversion from `Rat` to `Int`. -------------------------------------------------------------------------------- /test/bad/loops/for23.px: -------------------------------------------------------------------------------- 1 | 2 | for x in [0r] by 1.5 do 3 | skip 4 | -------------------------------------------------------------------------------- /test/bad/loops/label01.err: -------------------------------------------------------------------------------- 1 | :3:11: Unknown label `b`. -------------------------------------------------------------------------------- /test/bad/loops/label01.px: -------------------------------------------------------------------------------- 1 | 2 | while false label a do 3 | break b 4 | -------------------------------------------------------------------------------- /test/bad/loops/label02.err: -------------------------------------------------------------------------------- 1 | :5:11: Unknown label `loop2`. -------------------------------------------------------------------------------- /test/bad/loops/range01.err: -------------------------------------------------------------------------------- 1 | :2:2: Invalid usage of an iterative expression. -------------------------------------------------------------------------------- /test/bad/loops/range01.px: -------------------------------------------------------------------------------- 1 | 2 | 0..1 3 | -------------------------------------------------------------------------------- /test/bad/loops/spread01.err: -------------------------------------------------------------------------------- 1 | :2:10: Invalid usage of an iterative expression. -------------------------------------------------------------------------------- /test/bad/loops/spread01.px: -------------------------------------------------------------------------------- 1 | 2 | for _ in ...[0] do 3 | skip 4 | -------------------------------------------------------------------------------- /test/bad/loops/until01.err: -------------------------------------------------------------------------------- 1 | :5:7: No implicit conversion from `Int` to `Bool`. -------------------------------------------------------------------------------- /test/bad/loops/until02.px: -------------------------------------------------------------------------------- 1 | 2 | until true, 1 do 3 | skip 4 | -------------------------------------------------------------------------------- /test/bad/loops/while01.px: -------------------------------------------------------------------------------- 1 | 2 | while "abc" do 3 | skip 4 | -------------------------------------------------------------------------------- /test/bad/loops/while02.px: -------------------------------------------------------------------------------- 1 | 2 | while 1, 2, 3 do 3 | skip 4 | -------------------------------------------------------------------------------- /test/bad/modules/attr01.px: -------------------------------------------------------------------------------- 1 | 2 | print math.CHAITIN_OMEGA 3 | -------------------------------------------------------------------------------- /test/bad/modules/attr02.err: -------------------------------------------------------------------------------- 1 | :2:7: Undeclared identifier `package`. -------------------------------------------------------------------------------- /test/bad/modules/attr02.px: -------------------------------------------------------------------------------- 1 | 2 | print package.something 3 | -------------------------------------------------------------------------------- /test/bad/modules/use01.err: -------------------------------------------------------------------------------- 1 | :2:5: Unknown module `test`. -------------------------------------------------------------------------------- /test/bad/modules/use01.px: -------------------------------------------------------------------------------- 1 | 2 | use test 3 | -------------------------------------------------------------------------------- /test/bad/modules/use02.err: -------------------------------------------------------------------------------- 1 | :4:1: Undeclared identifier `sin`. -------------------------------------------------------------------------------- /test/bad/modules/use02.px: -------------------------------------------------------------------------------- 1 | 2 | use math hiding sin 3 | 4 | sin(0) 5 | -------------------------------------------------------------------------------- /test/bad/modules/use03.px: -------------------------------------------------------------------------------- 1 | 2 | use random hiding _something 3 | -------------------------------------------------------------------------------- /test/bad/modules/use04.err: -------------------------------------------------------------------------------- 1 | :5:7: Undeclared identifier `E`. -------------------------------------------------------------------------------- /test/bad/nullables/cmp01.err: -------------------------------------------------------------------------------- 1 | :3:3: Cannot compare `Int?` with `Bool`. -------------------------------------------------------------------------------- /test/bad/nullables/cmp01.px: -------------------------------------------------------------------------------- 1 | 2 | x: Int? = 4 3 | x == false 4 | -------------------------------------------------------------------------------- /test/bad/nullables/cmp02.px: -------------------------------------------------------------------------------- 1 | 2 | x: Int? = 4 3 | x < x 4 | -------------------------------------------------------------------------------- /test/bad/nullables/nullable02.px: -------------------------------------------------------------------------------- 1 | 2 | x: Char = null 3 | -------------------------------------------------------------------------------- /test/bad/nullables/nullable06.px: -------------------------------------------------------------------------------- 1 | 2 | a = [0] 3 | a': [Int?] = a 4 | -------------------------------------------------------------------------------- /test/bad/nullables/op01.err: -------------------------------------------------------------------------------- 1 | :3:2: Type `Int` is not nullable. -------------------------------------------------------------------------------- /test/bad/nullables/op01.px: -------------------------------------------------------------------------------- 1 | 2 | x: Int = 5 3 | x! 4 | -------------------------------------------------------------------------------- /test/bad/nullables/op02.err: -------------------------------------------------------------------------------- 1 | :3:2: Type `String` is not nullable. -------------------------------------------------------------------------------- /test/bad/nullables/op02.px: -------------------------------------------------------------------------------- 1 | 2 | s: String 3 | s?.length 4 | -------------------------------------------------------------------------------- /test/bad/nullables/op03.err: -------------------------------------------------------------------------------- 1 | :3:2: Type `Bool` is not nullable. -------------------------------------------------------------------------------- /test/bad/nullables/op03.px: -------------------------------------------------------------------------------- 1 | 2 | b: Bool 3 | b?.toString() 4 | -------------------------------------------------------------------------------- /test/bad/nullables/op04.px: -------------------------------------------------------------------------------- 1 | 2 | false ?? true 3 | -------------------------------------------------------------------------------- /test/bad/nullables/op05.px: -------------------------------------------------------------------------------- 1 | 2 | x: Int? 3 | x ??= 4.2 4 | -------------------------------------------------------------------------------- /test/bad/nullables/op06.err: -------------------------------------------------------------------------------- 1 | :3:2: Type `Int*Char` has no attribute `c`. -------------------------------------------------------------------------------- /test/bad/nullables/op06.px: -------------------------------------------------------------------------------- 1 | 2 | t: (Int*Char)? = 1, 'b' 3 | t?.c 4 | -------------------------------------------------------------------------------- /test/bad/nullables/op07.err: -------------------------------------------------------------------------------- 1 | :2:4: Type `[Int]` is not nullable. -------------------------------------------------------------------------------- /test/bad/nullables/op07.px: -------------------------------------------------------------------------------- 1 | 2 | [0]?[0] 3 | -------------------------------------------------------------------------------- /test/bad/nullables/op08.err: -------------------------------------------------------------------------------- 1 | :3:2: Type `Char` is not indexable. -------------------------------------------------------------------------------- /test/bad/nullables/op08.px: -------------------------------------------------------------------------------- 1 | 2 | c: Char? = 'c' 3 | c?[0] 4 | -------------------------------------------------------------------------------- /test/bad/nullables/op09.err: -------------------------------------------------------------------------------- 1 | :3:1: Expression cannot be assigned to. -------------------------------------------------------------------------------- /test/bad/nullables/op09.px: -------------------------------------------------------------------------------- 1 | 2 | b: [Bool]? 3 | b?[0] = true 4 | -------------------------------------------------------------------------------- /test/bad/nullables/op10.px: -------------------------------------------------------------------------------- 1 | 2 | x: Int 3 | x ??= 5 4 | -------------------------------------------------------------------------------- /test/bad/nullables/op11.err: -------------------------------------------------------------------------------- 1 | :6:2: Type `A` has no attribute `y`. -------------------------------------------------------------------------------- /test/bad/nullables/op12.err: -------------------------------------------------------------------------------- 1 | :2:5: Type `` has no attribute `a`. -------------------------------------------------------------------------------- /test/bad/nullables/op12.px: -------------------------------------------------------------------------------- 1 | 2 | null?.a 3 | -------------------------------------------------------------------------------- /test/bad/nullables/op13.err: -------------------------------------------------------------------------------- 1 | :3:2: Type `` is not indexable. -------------------------------------------------------------------------------- /test/bad/nullables/op13.px: -------------------------------------------------------------------------------- 1 | 2 | a = null 3 | a?[0] 4 | -------------------------------------------------------------------------------- /test/bad/nullables/op14.px: -------------------------------------------------------------------------------- 1 | 2 | d: {Char:Int}? 3 | d?[""] 4 | -------------------------------------------------------------------------------- /test/bad/nullables/op15.err: -------------------------------------------------------------------------------- 1 | :2:4: Syntax error. -------------------------------------------------------------------------------- /test/bad/nullables/op15.px: -------------------------------------------------------------------------------- 1 | 2 | a? .b 3 | -------------------------------------------------------------------------------- /test/bad/nullables/op16.err: -------------------------------------------------------------------------------- 1 | :2:9: Syntax error. -------------------------------------------------------------------------------- /test/bad/nullables/op16.px: -------------------------------------------------------------------------------- 1 | 2 | true?[0]:[] 3 | -------------------------------------------------------------------------------- /test/bad/nullables/op17.err: -------------------------------------------------------------------------------- 1 | :2:4: Syntax error. -------------------------------------------------------------------------------- /test/bad/nullables/op17.px: -------------------------------------------------------------------------------- 1 | 2 | a!==b 3 | -------------------------------------------------------------------------------- /test/bad/nullables/op18.err: -------------------------------------------------------------------------------- 1 | :3:2: Type `{Int:String}` is not sliceable. -------------------------------------------------------------------------------- /test/bad/nullables/op18.px: -------------------------------------------------------------------------------- 1 | 2 | d: {Int:String}? 3 | d?[0:] 4 | -------------------------------------------------------------------------------- /test/bad/nullables/print01.px: -------------------------------------------------------------------------------- 1 | 2 | f: (String->Void)? = write 3 | print f 4 | -------------------------------------------------------------------------------- /test/bad/numbers/attr01.err: -------------------------------------------------------------------------------- 1 | :2:4: Type `Rat` has no attribute `n`. -------------------------------------------------------------------------------- /test/bad/numbers/attr01.px: -------------------------------------------------------------------------------- 1 | 2 | 1.0.n 3 | -------------------------------------------------------------------------------- /test/bad/numbers/float01.err: -------------------------------------------------------------------------------- 1 | :2:2: Syntax error. -------------------------------------------------------------------------------- /test/bad/numbers/float01.px: -------------------------------------------------------------------------------- 1 | 2 | 1e 3 | -------------------------------------------------------------------------------- /test/bad/numbers/int01.err: -------------------------------------------------------------------------------- 1 | :2:2: Syntax error. -------------------------------------------------------------------------------- /test/bad/numbers/int01.px: -------------------------------------------------------------------------------- 1 | 2 | 0b2 3 | -------------------------------------------------------------------------------- /test/bad/numbers/int02.err: -------------------------------------------------------------------------------- 1 | :2:2: Syntax error. -------------------------------------------------------------------------------- /test/bad/numbers/int02.px: -------------------------------------------------------------------------------- 1 | 2 | 0o8 3 | -------------------------------------------------------------------------------- /test/bad/numbers/int03.err: -------------------------------------------------------------------------------- 1 | :2:2: Syntax error. -------------------------------------------------------------------------------- /test/bad/numbers/int03.px: -------------------------------------------------------------------------------- 1 | 2 | 0xG 3 | -------------------------------------------------------------------------------- /test/bad/numbers/int04.err: -------------------------------------------------------------------------------- 1 | :2:2: Syntax error. -------------------------------------------------------------------------------- /test/bad/numbers/int04.px: -------------------------------------------------------------------------------- 1 | 2 | 0a 3 | -------------------------------------------------------------------------------- /test/bad/numbers/int05.err: -------------------------------------------------------------------------------- 1 | :2:2: Syntax error. -------------------------------------------------------------------------------- /test/bad/numbers/int05.px: -------------------------------------------------------------------------------- 1 | 2 | 0O1 3 | -------------------------------------------------------------------------------- /test/bad/numbers/int06.err: -------------------------------------------------------------------------------- 1 | :2:20: Type `Int` has no attribute `fraction`. -------------------------------------------------------------------------------- /test/bad/numbers/int06.px: -------------------------------------------------------------------------------- 1 | 2 | 9223372036854775807.fraction 3 | -------------------------------------------------------------------------------- /test/bad/numbers/int07.err: -------------------------------------------------------------------------------- 1 | :2:1: Integer constant is too large. -------------------------------------------------------------------------------- /test/bad/numbers/int07.px: -------------------------------------------------------------------------------- 1 | 2 | 9223372036854775808 3 | -------------------------------------------------------------------------------- /test/bad/numbers/int08.err: -------------------------------------------------------------------------------- 1 | :2:2: Integer constant is too large. -------------------------------------------------------------------------------- /test/bad/sets/cmp01.px: -------------------------------------------------------------------------------- 1 | 2 | {2} >= {1} 3 | -------------------------------------------------------------------------------- /test/bad/sets/cmp02.err: -------------------------------------------------------------------------------- 1 | :2:9: Cannot compare `{Bool}` with `{Int}`. -------------------------------------------------------------------------------- /test/bad/sets/cmp02.px: -------------------------------------------------------------------------------- 1 | 2 | {false} == {0} 3 | -------------------------------------------------------------------------------- /test/bad/sets/comprehension01.err: -------------------------------------------------------------------------------- 1 | :2:1: Type `{Int}` is not hashable. -------------------------------------------------------------------------------- /test/bad/sets/comprehension01.px: -------------------------------------------------------------------------------- 1 | 2 | {for i in 1..0 yield {i}} 3 | -------------------------------------------------------------------------------- /test/bad/sets/decl01.px: -------------------------------------------------------------------------------- 1 | 2 | a: {Char} = {0} 3 | -------------------------------------------------------------------------------- /test/bad/sets/decl02.px: -------------------------------------------------------------------------------- 1 | 2 | a = {1/2} 3 | a': {Float} = a 4 | -------------------------------------------------------------------------------- /test/bad/sets/op01.px: -------------------------------------------------------------------------------- 1 | 2 | {1.1} & {""} 3 | -------------------------------------------------------------------------------- /test/bad/sets/op03.px: -------------------------------------------------------------------------------- 1 | 2 | [1] + {2} 3 | -------------------------------------------------------------------------------- /test/bad/sets/range01.err: -------------------------------------------------------------------------------- 1 | :2:7: Incompatible types `Bool` and `Char`. -------------------------------------------------------------------------------- /test/bad/sets/range01.px: -------------------------------------------------------------------------------- 1 | 2 | {false..'c'} 3 | -------------------------------------------------------------------------------- /test/bad/sets/set01.err: -------------------------------------------------------------------------------- 1 | :2:6: Type `{String}` is not indexable. -------------------------------------------------------------------------------- /test/bad/sets/set01.px: -------------------------------------------------------------------------------- 1 | 2 | {"1"}[0] 3 | -------------------------------------------------------------------------------- /test/bad/sets/set02.err: -------------------------------------------------------------------------------- 1 | :2:1: Incompatible types `Int` and `Bool`. -------------------------------------------------------------------------------- /test/bad/sets/set02.px: -------------------------------------------------------------------------------- 1 | 2 | {0, false} 3 | -------------------------------------------------------------------------------- /test/bad/sets/set03.err: -------------------------------------------------------------------------------- 1 | :2:1: Type `[Bool]` is not hashable. -------------------------------------------------------------------------------- /test/bad/sets/set03.px: -------------------------------------------------------------------------------- 1 | 2 | {[true]} 3 | -------------------------------------------------------------------------------- /test/bad/sets/set04.err: -------------------------------------------------------------------------------- 1 | :2:1: Type `Int*{}` is not hashable. -------------------------------------------------------------------------------- /test/bad/sets/set04.px: -------------------------------------------------------------------------------- 1 | 2 | {(0, {})} 3 | -------------------------------------------------------------------------------- /test/bad/sets/set05.err: -------------------------------------------------------------------------------- 1 | :2:4: Type `{Int}` is not sliceable. -------------------------------------------------------------------------------- /test/bad/sets/set05.px: -------------------------------------------------------------------------------- 1 | 2 | {1}[:] 3 | -------------------------------------------------------------------------------- /test/bad/sets/spread01.err: -------------------------------------------------------------------------------- 1 | :2:1: Incompatible types `Bool` and `Int`. -------------------------------------------------------------------------------- /test/bad/sets/spread01.px: -------------------------------------------------------------------------------- 1 | 2 | {...{false}, 0} 3 | -------------------------------------------------------------------------------- /test/bad/strings/char01.err: -------------------------------------------------------------------------------- 1 | :2:1: Syntax error. -------------------------------------------------------------------------------- /test/bad/strings/char01.px: -------------------------------------------------------------------------------- 1 | 2 | '' 3 | -------------------------------------------------------------------------------- /test/bad/strings/char02.err: -------------------------------------------------------------------------------- 1 | :2:1: Syntax error. -------------------------------------------------------------------------------- /test/bad/strings/char02.px: -------------------------------------------------------------------------------- 1 | 2 | 'abc' 3 | -------------------------------------------------------------------------------- /test/bad/strings/char03.px: -------------------------------------------------------------------------------- 1 | 2 | 'a' + '1' 3 | -------------------------------------------------------------------------------- /test/bad/strings/char04.px: -------------------------------------------------------------------------------- 1 | 2 | 5 - '5' 3 | -------------------------------------------------------------------------------- /test/bad/strings/char05.px: -------------------------------------------------------------------------------- 1 | 2 | 'A' * 2 3 | -------------------------------------------------------------------------------- /test/bad/strings/concat01.px: -------------------------------------------------------------------------------- 1 | 2 | print "1" + 2 3 | -------------------------------------------------------------------------------- /test/bad/strings/escape01.err: -------------------------------------------------------------------------------- 1 | :2:2: Invalid escape sequence `\x`. -------------------------------------------------------------------------------- /test/bad/strings/escape01.px: -------------------------------------------------------------------------------- 1 | 2 | '\x' 3 | -------------------------------------------------------------------------------- /test/bad/strings/escape02.err: -------------------------------------------------------------------------------- 1 | :2:8: Invalid escape sequence `\T`. -------------------------------------------------------------------------------- /test/bad/strings/escape02.px: -------------------------------------------------------------------------------- 1 | 2 | print "\T" 3 | -------------------------------------------------------------------------------- /test/bad/strings/escape03.err: -------------------------------------------------------------------------------- 1 | :2:4: Invalid escape sequence `\.`. -------------------------------------------------------------------------------- /test/bad/strings/escape03.px: -------------------------------------------------------------------------------- 1 | 2 | "\"\.\\" 3 | -------------------------------------------------------------------------------- /test/bad/strings/escape04.err: -------------------------------------------------------------------------------- 1 | :2:1: Syntax error. -------------------------------------------------------------------------------- /test/bad/strings/escape04.px: -------------------------------------------------------------------------------- 1 | 2 | '\' 3 | -------------------------------------------------------------------------------- /test/bad/strings/escape05.err: -------------------------------------------------------------------------------- 1 | :2:1: Syntax error. -------------------------------------------------------------------------------- /test/bad/strings/escape05.px: -------------------------------------------------------------------------------- 1 | 2 | "\"\\\" 3 | -------------------------------------------------------------------------------- /test/bad/strings/format01.err: -------------------------------------------------------------------------------- 1 | :2:3: Undeclared identifier `a`. -------------------------------------------------------------------------------- /test/bad/strings/format01.px: -------------------------------------------------------------------------------- 1 | 2 | "{a}" 3 | -------------------------------------------------------------------------------- /test/bad/strings/format03.px: -------------------------------------------------------------------------------- 1 | 2 | "{42}..{+3*false}" 3 | -------------------------------------------------------------------------------- /test/bad/strings/format04.err: -------------------------------------------------------------------------------- 1 | :2:21: Syntax error. -------------------------------------------------------------------------------- /test/bad/strings/format04.px: -------------------------------------------------------------------------------- 1 | 2 | print "{1+(2+34-567))}" 3 | -------------------------------------------------------------------------------- /test/bad/strings/format05.err: -------------------------------------------------------------------------------- 1 | :2:13: Syntax error. -------------------------------------------------------------------------------- /test/bad/strings/format05.px: -------------------------------------------------------------------------------- 1 | 2 | "a{xyz}- -{ ?} {?}" 3 | -------------------------------------------------------------------------------- /test/bad/strings/format06.err: -------------------------------------------------------------------------------- 1 | :2:7: Syntax error. -------------------------------------------------------------------------------- /test/bad/strings/format06.px: -------------------------------------------------------------------------------- 1 | 2 | " {} " 3 | -------------------------------------------------------------------------------- /test/bad/strings/format07.px: -------------------------------------------------------------------------------- 1 | 2 | f = "{_+_}" 3 | print f(1, "") 4 | -------------------------------------------------------------------------------- /test/bad/strings/string01.err: -------------------------------------------------------------------------------- 1 | :3:1: Expression cannot be assigned to. -------------------------------------------------------------------------------- /test/bad/strings/string01.px: -------------------------------------------------------------------------------- 1 | 2 | s = "abc" 3 | s[0] = 'x' 4 | -------------------------------------------------------------------------------- /test/bad/strings/string02.err: -------------------------------------------------------------------------------- 1 | :2:1: Expression cannot be assigned to. -------------------------------------------------------------------------------- /test/bad/strings/string02.px: -------------------------------------------------------------------------------- 1 | 2 | "test".length = 2 3 | -------------------------------------------------------------------------------- /test/bad/strings/string03.px: -------------------------------------------------------------------------------- 1 | 2 | "test".len 3 | -------------------------------------------------------------------------------- /test/bad/tuples/decl01.px: -------------------------------------------------------------------------------- 1 | 2 | t: Rat*Int = 0.1, 0.2 3 | -------------------------------------------------------------------------------- /test/bad/tuples/decl02.px: -------------------------------------------------------------------------------- 1 | 2 | t: Int*Bool*Char = 1, true 3 | -------------------------------------------------------------------------------- /test/bad/tuples/decl03.px: -------------------------------------------------------------------------------- 1 | 2 | t: Int*Bool = 1, true, "" 3 | -------------------------------------------------------------------------------- /test/bad/tuples/tuple01.err: -------------------------------------------------------------------------------- 1 | :3:2: Type `Int` has no attribute `a`. -------------------------------------------------------------------------------- /test/bad/tuples/tuple01.px: -------------------------------------------------------------------------------- 1 | 2 | a = 5 3 | a.a 4 | -------------------------------------------------------------------------------- /test/bad/tuples/tuple02.px: -------------------------------------------------------------------------------- 1 | 2 | x = 9, true, 5 3 | x.d 4 | -------------------------------------------------------------------------------- /test/bad/tuples/tuple05.px: -------------------------------------------------------------------------------- 1 | 2 | x, y = 1, 2, 3 3 | -------------------------------------------------------------------------------- /test/bad/tuples/tuple06.px: -------------------------------------------------------------------------------- 1 | 2 | x, y = true 3 | -------------------------------------------------------------------------------- /test/bad/tuples/tuple07.px: -------------------------------------------------------------------------------- 1 | 2 | (1, 2).ab 3 | -------------------------------------------------------------------------------- /test/bad/tuples/tuple09.err: -------------------------------------------------------------------------------- 1 | :3:1: Syntax error. -------------------------------------------------------------------------------- /test/bad/tuples/tuple09.px: -------------------------------------------------------------------------------- 1 | 2 | a = 1, 3 | -------------------------------------------------------------------------------- /test/bad/tuples/tuple10.err: -------------------------------------------------------------------------------- 1 | :2:2: Syntax error. -------------------------------------------------------------------------------- /test/bad/tuples/tuple10.px: -------------------------------------------------------------------------------- 1 | 2 | () 3 | -------------------------------------------------------------------------------- /test/good/arrays/array01.out: -------------------------------------------------------------------------------- 1 | 5 2 | -------------------------------------------------------------------------------- /test/good/arrays/array01.px: -------------------------------------------------------------------------------- 1 | 2 | a = [1, 5, 7] 3 | print a[1] 4 | -------------------------------------------------------------------------------- /test/good/arrays/array02.out: -------------------------------------------------------------------------------- 1 | 0 22 2 | -------------------------------------------------------------------------------- /test/good/arrays/array03.out: -------------------------------------------------------------------------------- 1 | 42 2 | 2 3 | -------------------------------------------------------------------------------- /test/good/arrays/array04.out: -------------------------------------------------------------------------------- 1 | -72 x 2 | -------------------------------------------------------------------------------- /test/good/arrays/array05.out: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /test/good/arrays/array05.px: -------------------------------------------------------------------------------- 1 | 2 | print [1,].length 3 | -------------------------------------------------------------------------------- /test/good/arrays/array06.out: -------------------------------------------------------------------------------- 1 | [0, 0.1] 2 | [-1, -2.3, 4] 3 | ["xy", "z"] 4 | -------------------------------------------------------------------------------- /test/good/arrays/array07.out: -------------------------------------------------------------------------------- 1 | [0] 2 | [1] 3 | -------------------------------------------------------------------------------- /test/good/arrays/array08.out: -------------------------------------------------------------------------------- 1 | ('a', 6) 2 | -------------------------------------------------------------------------------- /test/good/arrays/array09.out: -------------------------------------------------------------------------------- 1 | 4 2 | false 3 | -------------------------------------------------------------------------------- /test/good/arrays/array10.out: -------------------------------------------------------------------------------- 1 | 9 2 | 15 3 | -------------------------------------------------------------------------------- /test/good/arrays/array11.out: -------------------------------------------------------------------------------- 1 | 7 2 | 4 3 | -------------------------------------------------------------------------------- /test/good/arrays/comprehension01.out: -------------------------------------------------------------------------------- 1 | 5 2 | 1 2 5 3 | -------------------------------------------------------------------------------- /test/good/arrays/comprehension02.out: -------------------------------------------------------------------------------- 1 | 3 2 | A true 3 | -------------------------------------------------------------------------------- /test/good/arrays/comprehension03.out: -------------------------------------------------------------------------------- 1 | 21 2 | g j o 3 | -------------------------------------------------------------------------------- /test/good/arrays/comprehension07.out: -------------------------------------------------------------------------------- 1 | [3, 5, 4, 9] 2 | -------------------------------------------------------------------------------- /test/good/arrays/comprehension08.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/good/arrays/comprehension09.out: -------------------------------------------------------------------------------- 1 | 0.5 2 | 0.25 3 | 1 4 | 0.5 5 | -------------------------------------------------------------------------------- /test/good/arrays/comprehension11.out: -------------------------------------------------------------------------------- 1 | ["1a", "2b"] 2 | 0 false 3 | -------------------------------------------------------------------------------- /test/good/arrays/comprehension12.out: -------------------------------------------------------------------------------- 1 | [2, 1] 2 | -------------------------------------------------------------------------------- /test/good/arrays/comprehension14.out: -------------------------------------------------------------------------------- 1 | [(0, 'w'), (-1, 'y')] 2 | -------------------------------------------------------------------------------- /test/good/arrays/comprehension16.out: -------------------------------------------------------------------------------- 1 | [] 2 | ['b', 'c'] 3 | -------------------------------------------------------------------------------- /test/good/arrays/decl01.out: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /test/good/arrays/decl01.px: -------------------------------------------------------------------------------- 1 | 2 | a: [Int] = [1] 3 | print a[0] 4 | -------------------------------------------------------------------------------- /test/good/arrays/decl02.out: -------------------------------------------------------------------------------- 1 | 2 2 | -------------------------------------------------------------------------------- /test/good/arrays/decl02.px: -------------------------------------------------------------------------------- 1 | 2 | a: [Int] 3 | a = [2] 4 | print a[0] 5 | -------------------------------------------------------------------------------- /test/good/arrays/decl03.out: -------------------------------------------------------------------------------- 1 | [1, 1e+18] 2 | -------------------------------------------------------------------------------- /test/good/arrays/decl03.px: -------------------------------------------------------------------------------- 1 | 2 | a: [Float] = [1, 10^^18] 3 | print a 4 | -------------------------------------------------------------------------------- /test/good/arrays/empty02.out: -------------------------------------------------------------------------------- 1 | 5 2 | -------------------------------------------------------------------------------- /test/good/arrays/empty03.out: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /test/good/arrays/empty04.out: -------------------------------------------------------------------------------- 1 | x [] 2 | -------------------------------------------------------------------------------- /test/good/arrays/empty05.out: -------------------------------------------------------------------------------- 1 | 0 2 | -------------------------------------------------------------------------------- /test/good/arrays/empty06.out: -------------------------------------------------------------------------------- 1 | (0, 1, 0) 2 | -------------------------------------------------------------------------------- /test/good/arrays/empty08.out: -------------------------------------------------------------------------------- 1 | [false] 2 | -------------------------------------------------------------------------------- /test/good/arrays/empty10.out: -------------------------------------------------------------------------------- 1 | [[5], [2]] 2 | -------------------------------------------------------------------------------- /test/good/arrays/empty10.px: -------------------------------------------------------------------------------- 1 | 2 | a = [[], [2]] 3 | a[0] += [5] 4 | print a 5 | -------------------------------------------------------------------------------- /test/good/arrays/empty11.out: -------------------------------------------------------------------------------- 1 | true 2 | false 3 | -------------------------------------------------------------------------------- /test/good/arrays/empty12.out: -------------------------------------------------------------------------------- 1 | [3] 2 | [] 3 | 0 4 | -------------------------------------------------------------------------------- /test/good/arrays/for01.out: -------------------------------------------------------------------------------- 1 | 1 2 | 3 3 | 7 4 | 9 5 | 3 6 | -------------------------------------------------------------------------------- /test/good/arrays/for02.out: -------------------------------------------------------------------------------- 1 | 0 2 | 1 3 | -------------------------------------------------------------------------------- /test/good/arrays/for03.out: -------------------------------------------------------------------------------- 1 | 7 2 | 5 3 | 6 4 | 7 5 | 5 6 | -------------------------------------------------------------------------------- /test/good/arrays/for07.out: -------------------------------------------------------------------------------- 1 | 1 A 2 | 3 C 3 | (3, 'C') 4 | -------------------------------------------------------------------------------- /test/good/arrays/for08.out: -------------------------------------------------------------------------------- 1 | true 2 | -------------------------------------------------------------------------------- /test/good/arrays/for09.out: -------------------------------------------------------------------------------- 1 | 1 2 | 4 3 | [1] 4 | -------------------------------------------------------------------------------- /test/good/arrays/for10.out: -------------------------------------------------------------------------------- 1 | x 1 2 | a 4 3 | -------------------------------------------------------------------------------- /test/good/arrays/for11.out: -------------------------------------------------------------------------------- 1 | 33. -------------------------------------------------------------------------------- /test/good/arrays/line01.out: -------------------------------------------------------------------------------- 1 | [2, 3, 5] 2 | -------------------------------------------------------------------------------- /test/good/arrays/method03.out: -------------------------------------------------------------------------------- 1 | 4 2 | [5, 8, 7] 3 | -------------------------------------------------------------------------------- /test/good/arrays/method05.out: -------------------------------------------------------------------------------- 1 | [8, 1, 2, 9, 3] 2 | -------------------------------------------------------------------------------- /test/good/arrays/method09.out: -------------------------------------------------------------------------------- 1 | ['y'] ['x'] 2 | -------------------------------------------------------------------------------- /test/good/arrays/method11.out: -------------------------------------------------------------------------------- 1 | 73 2 | null 3 | 'Y' 4 | ~ 5 | -------------------------------------------------------------------------------- /test/good/arrays/multidim01.out: -------------------------------------------------------------------------------- 1 | 3 3 2 | 2 5 3 | -------------------------------------------------------------------------------- /test/good/arrays/multidim03.out: -------------------------------------------------------------------------------- 1 | 0 3000 2 | X Y Z 3 | -------------------------------------------------------------------------------- /test/good/arrays/op05.out: -------------------------------------------------------------------------------- 1 | 0 2 | [] 3 | -------------------------------------------------------------------------------- /test/good/arrays/print01.out: -------------------------------------------------------------------------------- 1 | [1, 4, 10] 2 | -------------------------------------------------------------------------------- /test/good/arrays/print01.px: -------------------------------------------------------------------------------- 1 | 2 | print [1, 4, 10] 3 | -------------------------------------------------------------------------------- /test/good/arrays/print03.out: -------------------------------------------------------------------------------- 1 | [(3, true)] 2 | -------------------------------------------------------------------------------- /test/good/arrays/print03.px: -------------------------------------------------------------------------------- 1 | 2 | print [(3, true)] 3 | -------------------------------------------------------------------------------- /test/good/arrays/range01.out: -------------------------------------------------------------------------------- 1 | [2, 3, 4, 5, 6] 2 | [1.5, 2.5] 3 | -------------------------------------------------------------------------------- /test/good/arrays/range09.out: -------------------------------------------------------------------------------- 1 | cx 2 | -------------------------------------------------------------------------------- /test/good/arrays/slice01.out: -------------------------------------------------------------------------------- 1 | [4, 5] 2 | [1, 4] 3 | [2] 4 | -------------------------------------------------------------------------------- /test/good/arrays/slice03.out: -------------------------------------------------------------------------------- 1 | 34.C4 -------------------------------------------------------------------------------- /test/good/arrays/slice04.out: -------------------------------------------------------------------------------- 1 | 26 2 | [10, 37, 64] 3 | [92] 4 | -------------------------------------------------------------------------------- /test/good/arrays/spread02.out: -------------------------------------------------------------------------------- 1 | [1, 3, 2] 2 | [true, false] 3 | [0.1] 4 | -------------------------------------------------------------------------------- /test/good/basic/assg01.out: -------------------------------------------------------------------------------- 1 | 1 (1, 1) 2 | -------------------------------------------------------------------------------- /test/good/basic/assg02.out: -------------------------------------------------------------------------------- 1 | 1 2 | 2 3 | -------------------------------------------------------------------------------- /test/good/basic/assg03.out: -------------------------------------------------------------------------------- 1 | 7 2 | -------------------------------------------------------------------------------- /test/good/basic/bool01.out: -------------------------------------------------------------------------------- 1 | 42 2 | -------------------------------------------------------------------------------- /test/good/basic/cmp01.out: -------------------------------------------------------------------------------- 1 | 1 2 | 2 3 | 3 4 | 4 5 | -------------------------------------------------------------------------------- /test/good/basic/cmp02.out: -------------------------------------------------------------------------------- 1 | 111 2 | -------------------------------------------------------------------------------- /test/good/basic/cmp03.out: -------------------------------------------------------------------------------- 1 | 1 2 | 2 3 | 3 4 | 4 5 | -------------------------------------------------------------------------------- /test/good/basic/cmp04.out: -------------------------------------------------------------------------------- 1 | O 2 | K 3 | -------------------------------------------------------------------------------- /test/good/basic/comment01.out: -------------------------------------------------------------------------------- 1 | 1 2 | true 3 | -------------------------------------------------------------------------------- /test/good/basic/comment02.out: -------------------------------------------------------------------------------- 1 | {#2 2 | -------------------------------------------------------------------------------- /test/good/basic/comment03.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/good/basic/comment03.px: -------------------------------------------------------------------------------- 1 | # -------------------------------------------------------------------------------- /test/good/basic/comment04.out: -------------------------------------------------------------------------------- 1 | 35 2 | -------------------------------------------------------------------------------- /test/good/basic/cond01.out: -------------------------------------------------------------------------------- 1 | 12 2 | ABC 3 | -------------------------------------------------------------------------------- /test/good/basic/cond02.out: -------------------------------------------------------------------------------- 1 | b 2 | -------------------------------------------------------------------------------- /test/good/basic/cond03.out: -------------------------------------------------------------------------------- 1 | 8 2 | 5 -9 3 | -------------------------------------------------------------------------------- /test/good/basic/cond04.out: -------------------------------------------------------------------------------- 1 | (3, 1) 2 | -1.75 3 | -------------------------------------------------------------------------------- /test/good/basic/cond06.out: -------------------------------------------------------------------------------- 1 | 1 2 | 3 3 | 2 4 | -------------------------------------------------------------------------------- /test/good/basic/decl01.out: -------------------------------------------------------------------------------- 1 | 5 2 | -------------------------------------------------------------------------------- /test/good/basic/decl01.px: -------------------------------------------------------------------------------- 1 | 2 | x: Int = 5 3 | print x 4 | -------------------------------------------------------------------------------- /test/good/basic/decl02.out: -------------------------------------------------------------------------------- 1 | false 2 | * 3 | -------------------------------------------------------------------------------- /test/good/basic/decl03.out: -------------------------------------------------------------------------------- 1 | (3, 1) 2 | -------------------------------------------------------------------------------- /test/good/basic/decl03.px: -------------------------------------------------------------------------------- 1 | 2 | x: Rat = 3 3 | print x.fraction 4 | -------------------------------------------------------------------------------- /test/good/basic/default01.out: -------------------------------------------------------------------------------- 1 | 0 (0, 1) 0 false 0 2 | -------------------------------------------------------------------------------- /test/good/basic/line01.out: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /test/good/basic/line02.out: -------------------------------------------------------------------------------- 1 | 1 2 2 | true 3 | -------------------------------------------------------------------------------- /test/good/basic/line03.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/good/basic/line03.px: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/good/basic/name01.out: -------------------------------------------------------------------------------- 1 | 1 2 3 4 2 | -------------------------------------------------------------------------------- /test/good/basic/placeholder01.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/good/basic/print02.out: -------------------------------------------------------------------------------- 1 | 1 2 | 2 3 | 1 2 4 | -------------------------------------------------------------------------------- /test/good/basic/scope01.out: -------------------------------------------------------------------------------- 1 | 2 2 | -------------------------------------------------------------------------------- /test/good/classes/abstract01.out: -------------------------------------------------------------------------------- 1 | B 2 | -------------------------------------------------------------------------------- /test/good/classes/cmp02.out: -------------------------------------------------------------------------------- 1 | 2 2 | -------------------------------------------------------------------------------- /test/good/classes/constructor01.out: -------------------------------------------------------------------------------- 1 | constructor 2 | true 3 | -------------------------------------------------------------------------------- /test/good/classes/constructor02.out: -------------------------------------------------------------------------------- 1 | [0, -2] 2 | -------------------------------------------------------------------------------- /test/good/classes/constructor04.out: -------------------------------------------------------------------------------- 1 | 0 2 | 1 3 | (2, 1) 4 | -------------------------------------------------------------------------------- /test/good/classes/constructor05.out: -------------------------------------------------------------------------------- 1 | A 2 | A 3 | C 4 | -------------------------------------------------------------------------------- /test/good/classes/constructor06.out: -------------------------------------------------------------------------------- 1 | 1 2 | 2 3 | A 4 | B 5 | -------------------------------------------------------------------------------- /test/good/classes/destructor02.out: -------------------------------------------------------------------------------- 1 | 1 2 | 1.5 3 | 2 4 | 3 5 | -------------------------------------------------------------------------------- /test/good/classes/destructor03.out: -------------------------------------------------------------------------------- 1 | f 2 | false 3 | 4 | true 5 | -------------------------------------------------------------------------------- /test/good/classes/destructor04.out: -------------------------------------------------------------------------------- 1 | A 0 2 | B 1 2.2 3 | A 1 4 | -------------------------------------------------------------------------------- /test/good/classes/destructor05.out: -------------------------------------------------------------------------------- 1 | C 2 | A 3 | -------------------------------------------------------------------------------- /test/good/classes/destructor06.out: -------------------------------------------------------------------------------- 1 | B 2 | -------------------------------------------------------------------------------- /test/good/classes/inheritance01.out: -------------------------------------------------------------------------------- 1 | 3 33 2 | -------------------------------------------------------------------------------- /test/good/classes/inheritance02.out: -------------------------------------------------------------------------------- 1 | 2 y 2 | 5 3 | -------------------------------------------------------------------------------- /test/good/classes/inheritance04.out: -------------------------------------------------------------------------------- 1 | Y 2 | Y 3 | Z 4 | -------------------------------------------------------------------------------- /test/good/classes/inheritance05.out: -------------------------------------------------------------------------------- 1 | B 2 | B 3 | A 4 | -------------------------------------------------------------------------------- /test/good/classes/inheritance06.out: -------------------------------------------------------------------------------- 1 | A 2 | B true 3 | C false 4 | * 42 5 | -------------------------------------------------------------------------------- /test/good/classes/inheritance07.out: -------------------------------------------------------------------------------- 1 | B 2 | C 3 | -------------------------------------------------------------------------------- /test/good/classes/inheritance08.out: -------------------------------------------------------------------------------- 1 | B 2 | -------------------------------------------------------------------------------- /test/good/classes/inheritance09.out: -------------------------------------------------------------------------------- 1 | ["B", "B"] 2 | -------------------------------------------------------------------------------- /test/good/classes/init01.out: -------------------------------------------------------------------------------- 1 | [] 2 | -------------------------------------------------------------------------------- /test/good/classes/init02.out: -------------------------------------------------------------------------------- 1 | {} 2 | 0 ("", false) {} 3 | -------------------------------------------------------------------------------- /test/good/classes/init03.out: -------------------------------------------------------------------------------- 1 | 0 2 | [] (0, 1) 3 | -------------------------------------------------------------------------------- /test/good/classes/method01.out: -------------------------------------------------------------------------------- 1 | Hello! 2 | -------------------------------------------------------------------------------- /test/good/classes/method02.out: -------------------------------------------------------------------------------- 1 | 7 2 | -------------------------------------------------------------------------------- /test/good/classes/method03.out: -------------------------------------------------------------------------------- 1 | 16 2 | -------------------------------------------------------------------------------- /test/good/classes/method05.out: -------------------------------------------------------------------------------- 1 | 0 2 | 1 3 | 2 4 | 2 5 | 3 6 | 4 7 | 5 8 | -------------------------------------------------------------------------------- /test/good/classes/method06.out: -------------------------------------------------------------------------------- 1 | f 2 | A.f 3 | B.f 4 | -------------------------------------------------------------------------------- /test/good/classes/method08.out: -------------------------------------------------------------------------------- 1 | f 2 | -------------------------------------------------------------------------------- /test/good/classes/method09.out: -------------------------------------------------------------------------------- 1 | 10 2 | -------------------------------------------------------------------------------- /test/good/classes/method10.out: -------------------------------------------------------------------------------- 1 | (1, 2) 2 | (4, 3.6) 3 | -------------------------------------------------------------------------------- /test/good/classes/method11.out: -------------------------------------------------------------------------------- 1 | 5 2 | 3 3 | 3 4 | 2 5 | -------------------------------------------------------------------------------- /test/good/classes/method13.out: -------------------------------------------------------------------------------- 1 | (false, null) 2 | -------------------------------------------------------------------------------- /test/good/classes/print01.out: -------------------------------------------------------------------------------- 1 | test 2 | -------------------------------------------------------------------------------- /test/good/classes/print02.out: -------------------------------------------------------------------------------- 1 | obj=false 2 | -------------------------------------------------------------------------------- /test/good/classes/print05.out: -------------------------------------------------------------------------------- 1 | A object 2 | ["b"] 3 | str 4 | -------------------------------------------------------------------------------- /test/good/classes/print06.out: -------------------------------------------------------------------------------- 1 | test 2 | -------------------------------------------------------------------------------- /test/good/classes/struct01.out: -------------------------------------------------------------------------------- 1 | 2 abc 2 | 5 s 3 | -------------------------------------------------------------------------------- /test/good/classes/struct02.out: -------------------------------------------------------------------------------- 1 | 0 1 2 2 | 4 1 -7.5 3 | -------------------------------------------------------------------------------- /test/good/classes/struct03.out: -------------------------------------------------------------------------------- 1 | 42 2 | -------------------------------------------------------------------------------- /test/good/classes/struct04.out: -------------------------------------------------------------------------------- 1 | 3 2 | -------------------------------------------------------------------------------- /test/good/classes/struct05.out: -------------------------------------------------------------------------------- 1 | A 2 | # 3 | -------------------------------------------------------------------------------- /test/good/classes/struct06.out: -------------------------------------------------------------------------------- 1 | [1.5] 2 | -------------------------------------------------------------------------------- /test/good/classes/struct07.out: -------------------------------------------------------------------------------- 1 | 64 2 | (72, 1) 3 | -------------------------------------------------------------------------------- /test/good/classes/struct08.out: -------------------------------------------------------------------------------- 1 | r 2 | 0 3 | 5 4 | ~ 5 | 89 6 | -------------------------------------------------------------------------------- /test/good/classes/struct09.out: -------------------------------------------------------------------------------- 1 | true 2 | false 3 | -------------------------------------------------------------------------------- /test/good/classes/super01.out: -------------------------------------------------------------------------------- 1 | AB 2 | -------------------------------------------------------------------------------- /test/good/classes/super02.out: -------------------------------------------------------------------------------- 1 | 7.5 2 | 7 3 | 7. 4 | -------------------------------------------------------------------------------- /test/good/classes/super04.out: -------------------------------------------------------------------------------- 1 | C 2 | A 3 | -------------------------------------------------------------------------------- /test/good/classes/super05.out: -------------------------------------------------------------------------------- 1 | [6] 2 | -------------------------------------------------------------------------------- /test/good/classes/unification01.out: -------------------------------------------------------------------------------- 1 | 2 2 | -------------------------------------------------------------------------------- /test/good/classes/unification03.out: -------------------------------------------------------------------------------- 1 | 2 2 | 0 3 | Sub1 4 | Base 5 | -------------------------------------------------------------------------------- /test/good/classes/unification04.out: -------------------------------------------------------------------------------- 1 | 4 2 | B 3 | $$$ 4 | A 5 | -3.75 6 | B 7 | -------------------------------------------------------------------------------- /test/good/classes/unification05.out: -------------------------------------------------------------------------------- 1 | CCC 2 | B 3 | A 4 | -------------------------------------------------------------------------------- /test/good/classes/var01.out: -------------------------------------------------------------------------------- 1 | x 2 | -------------------------------------------------------------------------------- /test/good/classes/var02.out: -------------------------------------------------------------------------------- 1 | 3 2 | 5 3 | -------------------------------------------------------------------------------- /test/good/conversions/char01.out: -------------------------------------------------------------------------------- 1 | 35 120 2 | 10 3 | -------------------------------------------------------------------------------- /test/good/conversions/char02.out: -------------------------------------------------------------------------------- 1 | * 2 | 4 3 | > 4 | H 5 | -------------------------------------------------------------------------------- /test/good/conversions/join01.out: -------------------------------------------------------------------------------- 1 | 7 axy&xyc 2 | xyz 3 | T 4 | -------------------------------------------------------------------------------- /test/good/conversions/join02.out: -------------------------------------------------------------------------------- 1 | 123456789 9 2 | ABCGHIJKL 3 | test 4 | -------------------------------------------------------------------------------- /test/good/conversions/join03.out: -------------------------------------------------------------------------------- 1 | 0 2 | sep 3 | -------------------------------------------------------------------------------- /test/good/conversions/number01.out: -------------------------------------------------------------------------------- 1 | 6 2 2 | -3 3 | -------------------------------------------------------------------------------- /test/good/conversions/number02.out: -------------------------------------------------------------------------------- 1 | 1 2 | -86 3 | -------------------------------------------------------------------------------- /test/good/conversions/string01.out: -------------------------------------------------------------------------------- 1 | 31R()*M\F\ -------------------------------------------------------------------------------- /test/good/conversions/string03.out: -------------------------------------------------------------------------------- 1 | ccc 2 | true 5 3 | -------------------------------------------------------------------------------- /test/good/conversions/string07.out: -------------------------------------------------------------------------------- 1 | (3, true, "rt")[][]([-2.5], [5, 6]) 2 | -------------------------------------------------------------------------------- /test/good/conversions/string08.out: -------------------------------------------------------------------------------- 1 | xyzxyz 2 | -------------------------------------------------------------------------------- /test/good/dictionaries/comprehension01.out: -------------------------------------------------------------------------------- 1 | 9 2 | -------------------------------------------------------------------------------- /test/good/dictionaries/comprehension02.out: -------------------------------------------------------------------------------- 1 | d g 2 | 2 3 | -------------------------------------------------------------------------------- /test/good/dictionaries/comprehension03.out: -------------------------------------------------------------------------------- 1 | {0: 2.7} 2 | -------------------------------------------------------------------------------- /test/good/dictionaries/comprehension04.out: -------------------------------------------------------------------------------- 1 | {"qr": 1} 2 | {:} 3 | -------------------------------------------------------------------------------- /test/good/dictionaries/dict01.out: -------------------------------------------------------------------------------- 1 | 3 2 | -------------------------------------------------------------------------------- /test/good/dictionaries/dict02.out: -------------------------------------------------------------------------------- 1 | {0.5: (3, 4)} 2 | -------------------------------------------------------------------------------- /test/good/dictionaries/dict03.out: -------------------------------------------------------------------------------- 1 | [{4}] [] 2 | 2 3 | -------------------------------------------------------------------------------- /test/good/dictionaries/dict04.out: -------------------------------------------------------------------------------- 1 | null 2 | q 3 | 'x' 4 | -------------------------------------------------------------------------------- /test/good/dictionaries/dict05.out: -------------------------------------------------------------------------------- 1 | {"": []} 2 | 2 3 | [5, 1] 4 | -------------------------------------------------------------------------------- /test/good/dictionaries/dict06.out: -------------------------------------------------------------------------------- 1 | {3: [3.5]} (7, 2) 2 | -------------------------------------------------------------------------------- /test/good/dictionaries/dict07.out: -------------------------------------------------------------------------------- 1 | true 2 | [null] 3 | -------------------------------------------------------------------------------- /test/good/dictionaries/dict10.out: -------------------------------------------------------------------------------- 1 | {'x': false} 2 | true 3 | -------------------------------------------------------------------------------- /test/good/dictionaries/dict12.out: -------------------------------------------------------------------------------- 1 | 4 7 2 1 5 2 | -------------------------------------------------------------------------------- /test/good/dictionaries/empty01.out: -------------------------------------------------------------------------------- 1 | {:} 2 | {:} 3 | -------------------------------------------------------------------------------- /test/good/dictionaries/empty02.out: -------------------------------------------------------------------------------- 1 | {:} true 2 | -------------------------------------------------------------------------------- /test/good/dictionaries/for01.out: -------------------------------------------------------------------------------- 1 | 5.5 x 2 | -------------------------------------------------------------------------------- /test/good/dictionaries/for02.out: -------------------------------------------------------------------------------- 1 | 5 2 | -------------------------------------------------------------------------------- /test/good/dictionaries/for03.out: -------------------------------------------------------------------------------- 1 | 1 ('x', 3) 2 | -------------------------------------------------------------------------------- /test/good/dictionaries/for04.out: -------------------------------------------------------------------------------- 1 | true 2 | -------------------------------------------------------------------------------- /test/good/dictionaries/for05.out: -------------------------------------------------------------------------------- 1 | 2.5 0 2 | -------------------------------------------------------------------------------- /test/good/dictionaries/method02.out: -------------------------------------------------------------------------------- 1 | 4 2 | 3 3 | -------------------------------------------------------------------------------- /test/good/dictionaries/method03.out: -------------------------------------------------------------------------------- 1 | [] 2 | null 3 | 2 4 | [3] 5 | -------------------------------------------------------------------------------- /test/good/dictionaries/method04.out: -------------------------------------------------------------------------------- 1 | null 2 | 25 3 | 0 4 | true 5 | {:} 6 | -------------------------------------------------------------------------------- /test/good/dictionaries/method05.out: -------------------------------------------------------------------------------- 1 | 4 40 2 | -------------------------------------------------------------------------------- /test/good/dictionaries/method06.out: -------------------------------------------------------------------------------- 1 | 500001 2 | true 3 | -------------------------------------------------------------------------------- /test/good/dictionaries/op01.out: -------------------------------------------------------------------------------- 1 | {1: false} 2 | true 3 | -------------------------------------------------------------------------------- /test/good/dictionaries/op02.out: -------------------------------------------------------------------------------- 1 | 2 2 | {null: false} 3 | -------------------------------------------------------------------------------- /test/good/dictionaries/print01.out: -------------------------------------------------------------------------------- 1 | true 2 | -------------------------------------------------------------------------------- /test/good/dictionaries/spread03.out: -------------------------------------------------------------------------------- 1 | 0 2 | -------------------------------------------------------------------------------- /test/good/euler/problem001.out: -------------------------------------------------------------------------------- 1 | 233168 2 | -------------------------------------------------------------------------------- /test/good/euler/problem002.out: -------------------------------------------------------------------------------- 1 | 4613732 2 | -------------------------------------------------------------------------------- /test/good/euler/problem003.out: -------------------------------------------------------------------------------- 1 | 6857 2 | -------------------------------------------------------------------------------- /test/good/euler/problem004.out: -------------------------------------------------------------------------------- 1 | 906609 2 | -------------------------------------------------------------------------------- /test/good/euler/problem007.out: -------------------------------------------------------------------------------- 1 | 104743 2 | -------------------------------------------------------------------------------- /test/good/euler/problem008.out: -------------------------------------------------------------------------------- 1 | 23514624000 2 | -------------------------------------------------------------------------------- /test/good/euler/problem009.out: -------------------------------------------------------------------------------- 1 | 31875000 2 | -------------------------------------------------------------------------------- /test/good/euler/problem010.out: -------------------------------------------------------------------------------- 1 | 142913828922 2 | -------------------------------------------------------------------------------- /test/good/euler/problem011.out: -------------------------------------------------------------------------------- 1 | 70600674 2 | -------------------------------------------------------------------------------- /test/good/euler/problem012.out: -------------------------------------------------------------------------------- 1 | 76576500 2 | -------------------------------------------------------------------------------- /test/good/euler/problem013.out: -------------------------------------------------------------------------------- 1 | 5537376230 2 | -------------------------------------------------------------------------------- /test/good/euler/problem014.out: -------------------------------------------------------------------------------- 1 | 837799 2 | -------------------------------------------------------------------------------- /test/good/euler/problem015.out: -------------------------------------------------------------------------------- 1 | 137846528820 2 | -------------------------------------------------------------------------------- /test/good/euler/problem016.out: -------------------------------------------------------------------------------- 1 | 1366 2 | -------------------------------------------------------------------------------- /test/good/euler/problem016.px: -------------------------------------------------------------------------------- 1 | 2 | print "{2^1000}".fold(_-'0'+_, 0) 3 | -------------------------------------------------------------------------------- /test/good/euler/problem020.out: -------------------------------------------------------------------------------- 1 | 648 2 | -------------------------------------------------------------------------------- /test/good/euler/problem067.out: -------------------------------------------------------------------------------- 1 | 7273 2 | -------------------------------------------------------------------------------- /test/good/euler/project-euler.md: -------------------------------------------------------------------------------- 1 | 2 | https://projecteuler.net/archives 3 | -------------------------------------------------------------------------------- /test/good/functions/args01.out: -------------------------------------------------------------------------------- 1 | 9 2 | 42 3 | -------------------------------------------------------------------------------- /test/good/functions/args04.out: -------------------------------------------------------------------------------- 1 | 6 2 | -5 3 | 3 4 | -------------------------------------------------------------------------------- /test/good/functions/args06.out: -------------------------------------------------------------------------------- 1 | true true 2 | false 3 | -------------------------------------------------------------------------------- /test/good/functions/args07.out: -------------------------------------------------------------------------------- 1 | [0] 2 | [8, 1e+16] 3 | -------------------------------------------------------------------------------- /test/good/functions/args08.out: -------------------------------------------------------------------------------- 1 | 4 2 | 13 3 | -------------------------------------------------------------------------------- /test/good/functions/default01.out: -------------------------------------------------------------------------------- 1 | 0 (0, 1) 2 | -------------------------------------------------------------------------------- /test/good/functions/default02.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/good/functions/func01.out: -------------------------------------------------------------------------------- 1 | 9 2 | -------------------------------------------------------------------------------- /test/good/functions/func02.out: -------------------------------------------------------------------------------- 1 | 5040 2 | -------------------------------------------------------------------------------- /test/good/functions/func03.out: -------------------------------------------------------------------------------- 1 | 125 2 | -------------------------------------------------------------------------------- /test/good/functions/func04.out: -------------------------------------------------------------------------------- 1 | test 2 | -------------------------------------------------------------------------------- /test/good/functions/func05.out: -------------------------------------------------------------------------------- 1 | c 2 | 2 3 | -------------------------------------------------------------------------------- /test/good/functions/func06.out: -------------------------------------------------------------------------------- 1 | 2 -3 2 | -------------------------------------------------------------------------------- /test/good/functions/func08.out: -------------------------------------------------------------------------------- 1 | (2, 1) 2 | -------------------------------------------------------------------------------- /test/good/functions/func10.out: -------------------------------------------------------------------------------- 1 | [1e-20] 2 | -------------------------------------------------------------------------------- /test/good/functions/func11.out: -------------------------------------------------------------------------------- 1 | g 2 | f 3 | -------------------------------------------------------------------------------- /test/good/functions/line01.out: -------------------------------------------------------------------------------- 1 | 3 abc 2 | -------------------------------------------------------------------------------- /test/good/functions/name01.out: -------------------------------------------------------------------------------- 1 | ok 2 | -------------------------------------------------------------------------------- /test/good/functions/name02.out: -------------------------------------------------------------------------------- 1 | 7 2 | -------------------------------------------------------------------------------- /test/good/functions/nested01.out: -------------------------------------------------------------------------------- 1 | f 2 | g 3 | -------------------------------------------------------------------------------- /test/good/functions/nested02.out: -------------------------------------------------------------------------------- 1 | 1 2 | 4 3 | 9 4 | -------------------------------------------------------------------------------- /test/good/functions/nested03.out: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /test/good/functions/nested04.out: -------------------------------------------------------------------------------- 1 | 5 2 | -------------------------------------------------------------------------------- /test/good/functions/nested05.out: -------------------------------------------------------------------------------- 1 | abcabc 2 | -------------------------------------------------------------------------------- /test/good/functions/nested07.out: -------------------------------------------------------------------------------- 1 | qw 2 | q [true] 3 | -------------------------------------------------------------------------------- /test/good/functions/nested09.out: -------------------------------------------------------------------------------- 1 | 13 2 | -------------------------------------------------------------------------------- /test/good/functions/nested10.out: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /test/good/functions/placeholder01.out: -------------------------------------------------------------------------------- 1 | 3 2 | -------------------------------------------------------------------------------- /test/good/functions/return01.out: -------------------------------------------------------------------------------- 1 | true 2 | -------------------------------------------------------------------------------- /test/good/functions/return02.out: -------------------------------------------------------------------------------- 1 | [] 2 | (0, "") 3 | -------------------------------------------------------------------------------- /test/good/functions/scope01.out: -------------------------------------------------------------------------------- 1 | 23 2 | 12 3 | -------------------------------------------------------------------------------- /test/good/functions/scope02.out: -------------------------------------------------------------------------------- 1 | xyz 2 | xyz abc 3 | -------------------------------------------------------------------------------- /test/good/functions/scope03.out: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /test/good/functions/var01.out: -------------------------------------------------------------------------------- 1 | 81 2 | -------------------------------------------------------------------------------- /test/good/functions/var02.out: -------------------------------------------------------------------------------- 1 | p1 2 | p2 3 | -------------------------------------------------------------------------------- /test/good/functions/var03.out: -------------------------------------------------------------------------------- 1 | foobar 2 | -------------------------------------------------------------------------------- /test/good/functions/var04.out: -------------------------------------------------------------------------------- 1 | 216 -512 2 | -------------------------------------------------------------------------------- /test/good/functions/var05.out: -------------------------------------------------------------------------------- 1 | true 2 | false 3 | -------------------------------------------------------------------------------- /test/good/functions/var06.out: -------------------------------------------------------------------------------- 1 | 5 2 | 9 3 | -------------------------------------------------------------------------------- /test/good/functions/var07.out: -------------------------------------------------------------------------------- 1 | xyz 2 | 8 3 | 2 4 | -------------------------------------------------------------------------------- /test/good/functions/variadic01.out: -------------------------------------------------------------------------------- 1 | 0 2 | 2 3 | 5 4 | -------------------------------------------------------------------------------- /test/good/functions/variadic02.out: -------------------------------------------------------------------------------- 1 | x 5 2 | 3 | x 8.25 4 | yabc 5 | -------------------------------------------------------------------------------- /test/good/functions/variadic03.out: -------------------------------------------------------------------------------- 1 | test 2 | 5 3 | 6 4 | 7 5 | 6 | 2 7 | 3 8 | -------------------------------------------------------------------------------- /test/good/functions/variadic04.out: -------------------------------------------------------------------------------- 1 | 240 2 | -14400 3 | -------------------------------------------------------------------------------- /test/good/functions/variadic06.out: -------------------------------------------------------------------------------- 1 | [true, false] 2 | -------------------------------------------------------------------------------- /test/good/functions/variadic07.out: -------------------------------------------------------------------------------- 1 | 0 2 | 1 3 | 7 4 | 0 5 | 6 6 | -------------------------------------------------------------------------------- /test/good/functions/variadic08.out: -------------------------------------------------------------------------------- 1 | empty 2 | xy 3 | -------------------------------------------------------------------------------- /test/good/functions/variadic09.out: -------------------------------------------------------------------------------- 1 | 0 2 | 1e+16 3 | 6.5 4 | -------------------------------------------------------------------------------- /test/good/generators/cmp01.px: -------------------------------------------------------------------------------- 1 | 2 | g: Int... 3 | g != g 4 | -------------------------------------------------------------------------------- /test/good/generators/default01.out: -------------------------------------------------------------------------------- 1 | [] 2 | {"a"} 3 | -------------------------------------------------------------------------------- /test/good/generators/default02.out: -------------------------------------------------------------------------------- 1 | 2 2 | -------------------------------------------------------------------------------- /test/good/generators/generator01.out: -------------------------------------------------------------------------------- 1 | 0 2 | 1 3 | 2 4 | -------------------------------------------------------------------------------- /test/good/generators/generator02.out: -------------------------------------------------------------------------------- 1 | 0 2 | 1 3 | 3 4 | 8 5 | 21 6 | 55 7 | -------------------------------------------------------------------------------- /test/good/generators/generator03.out: -------------------------------------------------------------------------------- 1 | a 0.5 2 | b 3 3 | -------------------------------------------------------------------------------- /test/good/generators/generator05.out: -------------------------------------------------------------------------------- 1 | [] 2 | {3} 3 | [5] 4 | {6} 5 | -------------------------------------------------------------------------------- /test/good/generators/generator06.out: -------------------------------------------------------------------------------- 1 | x 2 | -------------------------------------------------------------------------------- /test/good/generators/generator07.out: -------------------------------------------------------------------------------- 1 | 2 2 | 32.5 3 | -------------------------------------------------------------------------------- /test/good/generators/generator09.out: -------------------------------------------------------------------------------- 1 | a 2 | 1 3 | b 4 | -------------------------------------------------------------------------------- /test/good/generators/generator10.out: -------------------------------------------------------------------------------- 1 | [0, null, 1e-20] 2 | true 3 | -------------------------------------------------------------------------------- /test/good/generators/generic01.out: -------------------------------------------------------------------------------- 1 | 1 2 | 3 3 | 0 4 | -------------------------------------------------------------------------------- /test/good/generators/generic02.out: -------------------------------------------------------------------------------- 1 | 1e+18 2 | 3.5 3 | -3 4 | -------------------------------------------------------------------------------- /test/good/generators/generic03.out: -------------------------------------------------------------------------------- 1 | 8 2 | 15 3 | -------------------------------------------------------------------------------- /test/good/generators/generic05.out: -------------------------------------------------------------------------------- 1 | [5, 0.2] 2 | [0] 3 | -------------------------------------------------------------------------------- /test/good/generators/generic06.out: -------------------------------------------------------------------------------- 1 | 2 | {} 3 | -------------------------------------------------------------------------------- /test/good/generators/iterable01.out: -------------------------------------------------------------------------------- 1 | 3 2 | 1 3 | 2 4 | 3 5 | -------------------------------------------------------------------------------- /test/good/generators/iterable02.out: -------------------------------------------------------------------------------- 1 | [0, 2, 4.2, 3, 6, 5] 2 | -------------------------------------------------------------------------------- /test/good/generators/method02.out: -------------------------------------------------------------------------------- 1 | [] 2 | ["abc"] 3 | -------------------------------------------------------------------------------- /test/good/generators/method03.out: -------------------------------------------------------------------------------- 1 | A 2 | @ 3 | -------------------------------------------------------------------------------- /test/good/generators/nested02.out: -------------------------------------------------------------------------------- 1 | [1, 0] 2 | [0.125, 0.375] 3 | -------------------------------------------------------------------------------- /test/good/generators/next01.out: -------------------------------------------------------------------------------- 1 | true 2 | false 3 | -------------------------------------------------------------------------------- /test/good/generators/next02.out: -------------------------------------------------------------------------------- 1 | a 2 | b c 3 | -------------------------------------------------------------------------------- /test/good/generators/next03.out: -------------------------------------------------------------------------------- 1 | 0 2 | 1 3 | -------------------------------------------------------------------------------- /test/good/generators/recursion01.out: -------------------------------------------------------------------------------- 1 | [] 2 | [0, 1, 2, 3, 4] 3 | 12 4 | -------------------------------------------------------------------------------- /test/good/generators/recursion02.out: -------------------------------------------------------------------------------- 1 | 32 2 | -------------------------------------------------------------------------------- /test/good/generators/var01.out: -------------------------------------------------------------------------------- 1 | ["test"] 2 | -------------------------------------------------------------------------------- /test/good/generators/var02.out: -------------------------------------------------------------------------------- 1 | done 2 | [true] 3 | [] 4 | {} 5 | -------------------------------------------------------------------------------- /test/good/generators/var04.out: -------------------------------------------------------------------------------- 1 | 0 2 | 2 3 | 3 4 | [4, 7] 5 | -------------------------------------------------------------------------------- /test/good/generators/var07.out: -------------------------------------------------------------------------------- 1 | (1, 5) 2 | (7, 2) 3 | -------------------------------------------------------------------------------- /test/good/generators/var08.out: -------------------------------------------------------------------------------- 1 | 0 w q e 2 | 1 t r y 3 | - 4 | r 5 | {} 6 | -------------------------------------------------------------------------------- /test/good/generators/variadic01.out: -------------------------------------------------------------------------------- 1 | [120, 64] 2 | -------------------------------------------------------------------------------- /test/good/generics/basic01.out: -------------------------------------------------------------------------------- 1 | 42 2 | 42 3 | -------------------------------------------------------------------------------- /test/good/generics/basic02.out: -------------------------------------------------------------------------------- 1 | 4.47 2 | abcD 3 | -------------------------------------------------------------------------------- /test/good/generics/basic03.out: -------------------------------------------------------------------------------- 1 | true 2 | false 3 | 1 4 | -------------------------------------------------------------------------------- /test/good/generics/basic05.out: -------------------------------------------------------------------------------- 1 | true 2 | a 3 | -------------------------------------------------------------------------------- /test/good/generics/basic06.out: -------------------------------------------------------------------------------- 1 | 3 2 | 3.5 3 | -------------------------------------------------------------------------------- /test/good/generics/basic07.out: -------------------------------------------------------------------------------- 1 | 7 2 | 5.4 3 | -------------------------------------------------------------------------------- /test/good/generics/basic08.out: -------------------------------------------------------------------------------- 1 | 4 2 | 9.3 3 | -------------------------------------------------------------------------------- /test/good/generics/basic09.out: -------------------------------------------------------------------------------- 1 | test 2 | -------------------------------------------------------------------------------- /test/good/generics/basic10.out: -------------------------------------------------------------------------------- 1 | 120 2 | 1.875 3 | -------------------------------------------------------------------------------- /test/good/generics/basic11.out: -------------------------------------------------------------------------------- 1 | -1e+17 1 2 | ab c 3 | -------------------------------------------------------------------------------- /test/good/generics/basic12.out: -------------------------------------------------------------------------------- 1 | V 2 | -------------------------------------------------------------------------------- /test/good/generics/complex01.out: -------------------------------------------------------------------------------- 1 | 3 2 | -------------------------------------------------------------------------------- /test/good/generics/complex02.out: -------------------------------------------------------------------------------- 1 | (5, '$') 2 | (-1.11, false) 3 | -------------------------------------------------------------------------------- /test/good/generics/complex03.out: -------------------------------------------------------------------------------- 1 | 5.6 2 | -------------------------------------------------------------------------------- /test/good/generics/complex04.out: -------------------------------------------------------------------------------- 1 | (3, 6) 2 | -------------------------------------------------------------------------------- /test/good/generics/complex05.out: -------------------------------------------------------------------------------- 1 | (0.5, ['x']) 2 | -------------------------------------------------------------------------------- /test/good/generics/complex06.out: -------------------------------------------------------------------------------- 1 | 3 -7.89 null 2 | -------------------------------------------------------------------------------- /test/good/generics/complex07.out: -------------------------------------------------------------------------------- 1 | 0 2 | 6 3 | -------------------------------------------------------------------------------- /test/good/generics/default01.out: -------------------------------------------------------------------------------- 1 | 3 null 2 | -------------------------------------------------------------------------------- /test/good/generics/default02.out: -------------------------------------------------------------------------------- 1 | [5] ["A"] [true] 2 | -------------------------------------------------------------------------------- /test/good/generics/default04.out: -------------------------------------------------------------------------------- 1 | 1 2 | 2 3 | 0 4 | 4 5 | -------------------------------------------------------------------------------- /test/good/generics/default05.out: -------------------------------------------------------------------------------- 1 | 0 -4 2 | 3 7.5 3 | abc 4 | [true, false] 5 | -------------------------------------------------------------------------------- /test/good/generics/default06.out: -------------------------------------------------------------------------------- 1 | 0 2 | 4.2 3 | 0.125 4 | -------------------------------------------------------------------------------- /test/good/generics/func01.out: -------------------------------------------------------------------------------- 1 | 24 2 | Test 3 | -------------------------------------------------------------------------------- /test/good/generics/func02.out: -------------------------------------------------------------------------------- 1 | 20.02 2 | (-1, 1) 3 | -------------------------------------------------------------------------------- /test/good/generics/func04.out: -------------------------------------------------------------------------------- 1 | 97 2 | -2.5 3 | 4 4 | -------------------------------------------------------------------------------- /test/good/generics/func05.out: -------------------------------------------------------------------------------- 1 | 7 2 | -2 3 | -------------------------------------------------------------------------------- /test/good/generics/func06.out: -------------------------------------------------------------------------------- 1 | ("0123", 7) 2 | (28, -0.8) 3 | -------------------------------------------------------------------------------- /test/good/generics/func07.out: -------------------------------------------------------------------------------- 1 | 2 2 | 88 3 | abcabc 4 | -------------------------------------------------------------------------------- /test/good/generics/func08.out: -------------------------------------------------------------------------------- 1 | -1 2 | [5.1] 3 | -------------------------------------------------------------------------------- /test/good/generics/func09.out: -------------------------------------------------------------------------------- 1 | -1 2 | -------------------------------------------------------------------------------- /test/good/generics/func10.out: -------------------------------------------------------------------------------- 1 | 2 | qwerty 3 | 0 4 | 4.5 5 | -------------------------------------------------------------------------------- /test/good/generics/func11.out: -------------------------------------------------------------------------------- 1 | 11 2 | abcd 3 | -------------------------------------------------------------------------------- /test/good/generics/implicit02.out: -------------------------------------------------------------------------------- 1 | a 2 | true 3 | -------------------------------------------------------------------------------- /test/good/generics/implicit03.out: -------------------------------------------------------------------------------- 1 | ababc 2 | 1.1 3 | 8 4 | -------------------------------------------------------------------------------- /test/good/generics/implicit04.out: -------------------------------------------------------------------------------- 1 | true 2 | -------------------------------------------------------------------------------- /test/good/generics/implicit05.out: -------------------------------------------------------------------------------- 1 | 0 2 | 21 3 | -------------------------------------------------------------------------------- /test/good/generics/implicit07.out: -------------------------------------------------------------------------------- 1 | false 2 | true 3 | -------------------------------------------------------------------------------- /test/good/generics/method01.out: -------------------------------------------------------------------------------- 1 | A 2 | -------------------------------------------------------------------------------- /test/good/generics/method02.out: -------------------------------------------------------------------------------- 1 | (3, 2) 2 | -------------------------------------------------------------------------------- /test/good/generics/name01.out: -------------------------------------------------------------------------------- 1 | T 2 | -------------------------------------------------------------------------------- /test/good/generics/name02.out: -------------------------------------------------------------------------------- 1 | 5 2 | -------------------------------------------------------------------------------- /test/good/generics/name03.out: -------------------------------------------------------------------------------- 1 | 4 2 | -------------------------------------------------------------------------------- /test/good/generics/name04.out: -------------------------------------------------------------------------------- 1 | 6 2 | -------------------------------------------------------------------------------- /test/good/generics/name05.out: -------------------------------------------------------------------------------- 1 | 4.5 2 | null 3 | $ 4 | -------------------------------------------------------------------------------- /test/good/generics/name06.out: -------------------------------------------------------------------------------- 1 | r 2 | 6.8 3 | -------------------------------------------------------------------------------- /test/good/generics/nested01.out: -------------------------------------------------------------------------------- 1 | (15, '$') 2 | (-3.33, false) 3 | -------------------------------------------------------------------------------- /test/good/generics/nested02.out: -------------------------------------------------------------------------------- 1 | f 2 | -------------------------------------------------------------------------------- /test/good/generics/placeholder01.out: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /test/good/generics/return01.out: -------------------------------------------------------------------------------- 1 | 1e+16 2 | -------------------------------------------------------------------------------- /test/good/generics/return02.out: -------------------------------------------------------------------------------- 1 | 1 -1e+18 2 | -------------------------------------------------------------------------------- /test/good/generics/variadic01.out: -------------------------------------------------------------------------------- 1 | 1 2 | (9, 4) 3 | 16.5 4 | -------------------------------------------------------------------------------- /test/good/generics/variadic02.out: -------------------------------------------------------------------------------- 1 | qwerty 2 | x.y.z 3 | 4 | --- 5 | -------------------------------------------------------------------------------- /test/good/input/read01.in: -------------------------------------------------------------------------------- 1 | A7bh&^#;"4% @! 2 | -------------------------------------------------------------------------------- /test/good/input/read01.out: -------------------------------------------------------------------------------- 1 | A7bh&^#;"4% 2 | -------------------------------------------------------------------------------- /test/good/input/read01.px: -------------------------------------------------------------------------------- 1 | 2 | print read() 3 | -------------------------------------------------------------------------------- /test/good/input/read02.in: -------------------------------------------------------------------------------- 1 | test 2 | abc 123 !@#$%^&*()-_=+ 3 | test 4 | -------------------------------------------------------------------------------- /test/good/input/read02.out: -------------------------------------------------------------------------------- 1 | test 2 | abc 123 !@#$%^&*()-_=+ 3 | test 4 | -------------------------------------------------------------------------------- /test/good/input/read04.in: -------------------------------------------------------------------------------- 1 | 6X 90 2 | 36 abc 50 3 | -------------------------------------------------------------------------------- /test/good/input/read04.out: -------------------------------------------------------------------------------- 1 | 30 Y 9 2 | 2 -abc- 256 3 | -------------------------------------------------------------------------------- /test/good/input/read05.out: -------------------------------------------------------------------------------- 1 | 2501 2 | 00! 3 | -------------------------------------------------------------------------------- /test/good/input/read06.in: -------------------------------------------------------------------------------- 1 | 1 3.875 2 | 9e6 3 | -------------------------------------------------------------------------------- /test/good/lambdas/closure01.out: -------------------------------------------------------------------------------- 1 | [3, 2, 3] 2 | -------------------------------------------------------------------------------- /test/good/lambdas/lambda01.out: -------------------------------------------------------------------------------- 1 | 77 2 | -------------------------------------------------------------------------------- /test/good/lambdas/lambda02.out: -------------------------------------------------------------------------------- 1 | 109 2 | -------------------------------------------------------------------------------- /test/good/lambdas/lambda06.out: -------------------------------------------------------------------------------- 1 | lambda 2 | -------------------------------------------------------------------------------- /test/good/lambdas/lambda07.out: -------------------------------------------------------------------------------- 1 | (2, 'x') 2 | ### 3 | -------------------------------------------------------------------------------- /test/good/lambdas/lambda08.out: -------------------------------------------------------------------------------- 1 | 44 2 | -------------------------------------------------------------------------------- /test/good/lambdas/lambda09.out: -------------------------------------------------------------------------------- 1 | 1,2,3 2 | 8,9 3 | 5,3,1 4 | -------------------------------------------------------------------------------- /test/good/lambdas/lambda11.out: -------------------------------------------------------------------------------- 1 | 5 2 | 3 3 | 1 4 | null 5 | -------------------------------------------------------------------------------- /test/good/lambdas/lambda12.out: -------------------------------------------------------------------------------- 1 | 2+2=4 false 2 | true... 3 | -------------------------------------------------------------------------------- /test/good/lambdas/lambda13.out: -------------------------------------------------------------------------------- 1 | 8 2 | -------------------------------------------------------------------------------- /test/good/lambdas/lambda14.out: -------------------------------------------------------------------------------- 1 | [1, 5, 0] 2 | -------------------------------------------------------------------------------- /test/good/lambdas/nested01.out: -------------------------------------------------------------------------------- 1 | KLJC.  -------------------------------------------------------------------------------- /test/good/lambdas/nested02.out: -------------------------------------------------------------------------------- 1 | true 2 | false 3 | -------------------------------------------------------------------------------- /test/good/lambdas/placeholder01.out: -------------------------------------------------------------------------------- 1 | 7 2 | -------------------------------------------------------------------------------- /test/good/lambdas/var01.out: -------------------------------------------------------------------------------- 1 | 10 2 | 2.5 3 | -------------------------------------------------------------------------------- /test/good/lambdas/var02.out: -------------------------------------------------------------------------------- 1 | (1, 81) 2 | -1e+31 3 | -------------------------------------------------------------------------------- /test/good/lambdas/var03.out: -------------------------------------------------------------------------------- 1 | 3 2 | -------------------------------------------------------------------------------- /test/good/lambdas/var03.px: -------------------------------------------------------------------------------- 1 | 2 | print (lambda x: x+1)(2) 3 | -------------------------------------------------------------------------------- /test/good/libraries/math02.out: -------------------------------------------------------------------------------- 1 | 1 1 2 | 3 3 | 1.4142135623731 4 | -------------------------------------------------------------------------------- /test/good/libraries/random01.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/good/libraries/random03.out: -------------------------------------------------------------------------------- 1 | true true 2 | -------------------------------------------------------------------------------- /test/good/libraries/random04.out: -------------------------------------------------------------------------------- 1 | true true 2 | -------------------------------------------------------------------------------- /test/good/libraries/random05.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/good/libraries/std03.out: -------------------------------------------------------------------------------- 1 | abc a+b+c 2 | cba 3 | [97, 98, 99] 4 | -------------------------------------------------------------------------------- /test/good/loops/break01.out: -------------------------------------------------------------------------------- 1 | 43 2 | -------------------------------------------------------------------------------- /test/good/loops/break02.out: -------------------------------------------------------------------------------- 1 | 23 13 2 | -------------------------------------------------------------------------------- /test/good/loops/break03.out: -------------------------------------------------------------------------------- 1 | 33 2 | 99 3 | -------------------------------------------------------------------------------- /test/good/loops/continue02.out: -------------------------------------------------------------------------------- 1 | 10 20 2 | -------------------------------------------------------------------------------- /test/good/loops/continue03.out: -------------------------------------------------------------------------------- 1 | 17 2 | 18 3 | -------------------------------------------------------------------------------- /test/good/loops/continue04.out: -------------------------------------------------------------------------------- 1 | 1 2 | 2 3 | 3 4 | 6 5 | -------------------------------------------------------------------------------- /test/good/loops/else01.out: -------------------------------------------------------------------------------- 1 | 1 2 | 2 3 | -------------------------------------------------------------------------------- /test/good/loops/else02.out: -------------------------------------------------------------------------------- 1 | 0 2 | 2 3 | 4 4 | 5 5 | -------------------------------------------------------------------------------- /test/good/loops/else03.out: -------------------------------------------------------------------------------- 1 | 0 2 | 1 3 | 4 4 | true 5 | -------------------------------------------------------------------------------- /test/good/loops/else04.out: -------------------------------------------------------------------------------- 1 | 0 2 | 4 3 | 5 4 | -------------------------------------------------------------------------------- /test/good/loops/else05.out: -------------------------------------------------------------------------------- 1 | 42 2 | -------------------------------------------------------------------------------- /test/good/loops/for01.out: -------------------------------------------------------------------------------- 1 | 3 2 | 5 3 | 6 4 | 6 5 | 4 6 | -------------------------------------------------------------------------------- /test/good/loops/for02.out: -------------------------------------------------------------------------------- 1 | 6 -1 4 2 | 2 3 | -------------------------------------------------------------------------------- /test/good/loops/for03.out: -------------------------------------------------------------------------------- 1 | 1 2 | 4 3 | 2 4 | -------------------------------------------------------------------------------- /test/good/loops/for04.out: -------------------------------------------------------------------------------- 1 | 8 2 | -------------------------------------------------------------------------------- /test/good/loops/for05.out: -------------------------------------------------------------------------------- 1 | ghijk 2 | U 3 | R 4 | -------------------------------------------------------------------------------- /test/good/loops/for07.out: -------------------------------------------------------------------------------- 1 | &4BP^lz 2 | -------------------------------------------------------------------------------- /test/good/loops/for08.out: -------------------------------------------------------------------------------- 1 | 1 A 2 | 2 B 3 | 3 C 4 | 4 D 5 | -------------------------------------------------------------------------------- /test/good/loops/for10.out: -------------------------------------------------------------------------------- 1 | 40 2 | -------------------------------------------------------------------------------- /test/good/loops/for12.out: -------------------------------------------------------------------------------- 1 | 2 1 c 2 | -------------------------------------------------------------------------------- /test/good/loops/for14.out: -------------------------------------------------------------------------------- 1 | 24 2 | 7 -10 3 | -------------------------------------------------------------------------------- /test/good/loops/for16.out: -------------------------------------------------------------------------------- 1 | ('z', 1) 2 | ('t', 3) 3 | -------------------------------------------------------------------------------- /test/good/loops/init01.out: -------------------------------------------------------------------------------- 1 | 4 2 | 4 3 | -------------------------------------------------------------------------------- /test/good/loops/label01.out: -------------------------------------------------------------------------------- 1 | false 2 | true 3 | done 4 | -------------------------------------------------------------------------------- /test/good/loops/label02.out: -------------------------------------------------------------------------------- 1 | 0 2 | 1 3 | 2 4 | -------------------------------------------------------------------------------- /test/good/loops/label03.out: -------------------------------------------------------------------------------- 1 | 0 2 | A 3 | true 4 | -------------------------------------------------------------------------------- /test/good/loops/label04.out: -------------------------------------------------------------------------------- 1 | 3 2 | 2 3 | 1 4 | -------------------------------------------------------------------------------- /test/good/loops/label05.out: -------------------------------------------------------------------------------- 1 | 6 2 | 8 3 | -------------------------------------------------------------------------------- /test/good/loops/until01.out: -------------------------------------------------------------------------------- 1 | 5 2 | -------------------------------------------------------------------------------- /test/good/loops/until02.out: -------------------------------------------------------------------------------- 1 | 0 6 12 2 | 16 3 | -------------------------------------------------------------------------------- /test/good/loops/while01.out: -------------------------------------------------------------------------------- 1 | 55 2 | -------------------------------------------------------------------------------- /test/good/loops/while02.out: -------------------------------------------------------------------------------- 1 | 32P0!.c#. -------------------------------------------------------------------------------- /test/good/modules/attr01.out: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /test/good/modules/use01.out: -------------------------------------------------------------------------------- 1 | 3 2 | -------------------------------------------------------------------------------- /test/good/modules/use01.px: -------------------------------------------------------------------------------- 1 | 2 | use math 3 | 4 | print sqrt(9) 5 | -------------------------------------------------------------------------------- /test/good/modules/use02.out: -------------------------------------------------------------------------------- 1 | -1 2 | -------------------------------------------------------------------------------- /test/good/modules/use03.out: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /test/good/nullables/cmp01.out: -------------------------------------------------------------------------------- 1 | true 2 | false 3 | -------------------------------------------------------------------------------- /test/good/nullables/cmp02.out: -------------------------------------------------------------------------------- 1 | true false 2 | -------------------------------------------------------------------------------- /test/good/nullables/default01.out: -------------------------------------------------------------------------------- 1 | null 2 | -------------------------------------------------------------------------------- /test/good/nullables/default01.px: -------------------------------------------------------------------------------- 1 | 2 | n: Bool? 3 | print n 4 | -------------------------------------------------------------------------------- /test/good/nullables/nullable01.out: -------------------------------------------------------------------------------- 1 | 5 2 | -------------------------------------------------------------------------------- /test/good/nullables/nullable01.px: -------------------------------------------------------------------------------- 1 | 2 | x: Int? = 5 3 | print x 4 | -------------------------------------------------------------------------------- /test/good/nullables/nullable02.out: -------------------------------------------------------------------------------- 1 | null 2 | -------------------------------------------------------------------------------- /test/good/nullables/nullable02.px: -------------------------------------------------------------------------------- 1 | 2 | x: Float? 3 | print x 4 | -------------------------------------------------------------------------------- /test/good/nullables/nullable03.out: -------------------------------------------------------------------------------- 1 | null 2 | true 3 | -------------------------------------------------------------------------------- /test/good/nullables/nullable04.out: -------------------------------------------------------------------------------- 1 | 4 2 | null 3 | -3.5 4 | -------------------------------------------------------------------------------- /test/good/nullables/nullable06.out: -------------------------------------------------------------------------------- 1 | null 876 2 | -------------------------------------------------------------------------------- /test/good/nullables/nullable09.out: -------------------------------------------------------------------------------- 1 | null 2 | [null] 3 | [1.5] 4 | -------------------------------------------------------------------------------- /test/good/nullables/nullable10.out: -------------------------------------------------------------------------------- 1 | [null, 2] 2 | -------------------------------------------------------------------------------- /test/good/nullables/op01.out: -------------------------------------------------------------------------------- 1 | 10 2 | -------------------------------------------------------------------------------- /test/good/nullables/op02.out: -------------------------------------------------------------------------------- 1 | null 2 | 4 3 | -------------------------------------------------------------------------------- /test/good/nullables/op03.out: -------------------------------------------------------------------------------- 1 | "true" 2 | null 3 | -------------------------------------------------------------------------------- /test/good/nullables/op04.out: -------------------------------------------------------------------------------- 1 | 2 2 | null 3 | -------------------------------------------------------------------------------- /test/good/nullables/op05.out: -------------------------------------------------------------------------------- 1 | "X_Y" 2 | -------------------------------------------------------------------------------- /test/good/nullables/op06.out: -------------------------------------------------------------------------------- 1 | null 2 | 0 3 | 0 4 | 5 5 | 6 6 | -------------------------------------------------------------------------------- /test/good/nullables/op07.out: -------------------------------------------------------------------------------- 1 | ? 2 | -------------------------------------------------------------------------------- /test/good/nullables/op08.out: -------------------------------------------------------------------------------- 1 | [null] 2 | ['a'] 3 | 'a' 4 | -------------------------------------------------------------------------------- /test/good/nullables/op09.out: -------------------------------------------------------------------------------- 1 | 0 2 | 1 3 | 3 5 4 | null 5 | -------------------------------------------------------------------------------- /test/good/nullables/op10.out: -------------------------------------------------------------------------------- 1 | null 2 | 'c' 3 | -------------------------------------------------------------------------------- /test/good/nullables/op11.out: -------------------------------------------------------------------------------- 1 | null 2 | A 3 | 0 4 | -------------------------------------------------------------------------------- /test/good/nullables/op12.out: -------------------------------------------------------------------------------- 1 | 1 2 | 6 3 | 6 4 | -2.1 5 | 5 6 | -------------------------------------------------------------------------------- /test/good/nullables/op14.out: -------------------------------------------------------------------------------- 1 | null 2 | 10 3 | g 4 | -------------------------------------------------------------------------------- /test/good/nullables/op15.out: -------------------------------------------------------------------------------- 1 | 'B' 2 | 'A' 3 | -------------------------------------------------------------------------------- /test/good/nullables/op16.out: -------------------------------------------------------------------------------- 1 | 0 2 | ['x'] 3 | -------------------------------------------------------------------------------- /test/good/nullables/op17.out: -------------------------------------------------------------------------------- 1 | ?? 2 | f 3 | 7.5 4 | null 5 | -------------------------------------------------------------------------------- /test/good/nullables/op19.out: -------------------------------------------------------------------------------- 1 | 4 2 | null 3 | -------------------------------------------------------------------------------- /test/good/nullables/print01.out: -------------------------------------------------------------------------------- 1 | null 2 | null0 3 | -------------------------------------------------------------------------------- /test/good/numbers/float02.out: -------------------------------------------------------------------------------- 1 | 0.93 2 | 57.6 4.5 3 | 0.25 1e+20 4 | -------------------------------------------------------------------------------- /test/good/numbers/float03.out: -------------------------------------------------------------------------------- 1 | -0.5 2 | 0.2 3 | 0.4 4 | -------------------------------------------------------------------------------- /test/good/numbers/float05.out: -------------------------------------------------------------------------------- 1 | -123456.789 2 | 2100.05 3 | -------------------------------------------------------------------------------- /test/good/numbers/int01.out: -------------------------------------------------------------------------------- 1 | 4 2 | 20 3 | -------------------------------------------------------------------------------- /test/good/numbers/int02.out: -------------------------------------------------------------------------------- 1 | 14 2 | -------------------------------------------------------------------------------- /test/good/numbers/int05.out: -------------------------------------------------------------------------------- 1 | 12 243 2 | -------------------------------------------------------------------------------- /test/good/numbers/rat04.out: -------------------------------------------------------------------------------- 1 | (80, 27) (-3, 1) 2 | -------------------------------------------------------------------------------- /test/good/numbers/rat07.out: -------------------------------------------------------------------------------- 1 | 5835109375 2 | true 3 | -------------------------------------------------------------------------------- /test/good/numbers/rat10.out: -------------------------------------------------------------------------------- 1 | (9223372036854775808, 1) 2 | 0.01 3 | -------------------------------------------------------------------------------- /test/good/numbers/rat13.out: -------------------------------------------------------------------------------- 1 | 29.1389570376174818971 2 | -------------------------------------------------------------------------------- /test/good/sets/cmp02.out: -------------------------------------------------------------------------------- 1 | false 2 | true 3 | -------------------------------------------------------------------------------- /test/good/sets/comprehension01.out: -------------------------------------------------------------------------------- 1 | 34 2 | -------------------------------------------------------------------------------- /test/good/sets/comprehension02.out: -------------------------------------------------------------------------------- 1 | 55 2 | -------------------------------------------------------------------------------- /test/good/sets/comprehension03.out: -------------------------------------------------------------------------------- 1 | {"11D"} 2 | -------------------------------------------------------------------------------- /test/good/sets/comprehension04.out: -------------------------------------------------------------------------------- 1 | 2000 2 | -------------------------------------------------------------------------------- /test/good/sets/comprehension05.out: -------------------------------------------------------------------------------- 1 | {0.5} 2 | -------------------------------------------------------------------------------- /test/good/sets/comprehension06.out: -------------------------------------------------------------------------------- 1 | true 2 | {'a'} 3 | -------------------------------------------------------------------------------- /test/good/sets/empty01.out: -------------------------------------------------------------------------------- 1 | {} 2 | {} 3 | -------------------------------------------------------------------------------- /test/good/sets/empty02.out: -------------------------------------------------------------------------------- 1 | {} true 2 | -------------------------------------------------------------------------------- /test/good/sets/empty02.px: -------------------------------------------------------------------------------- 1 | 2 | s: {Float} 3 | print s, s.empty 4 | -------------------------------------------------------------------------------- /test/good/sets/for01.out: -------------------------------------------------------------------------------- 1 | 5 2 | -------------------------------------------------------------------------------- /test/good/sets/for01.px: -------------------------------------------------------------------------------- 1 | 2 | for x in {5} do 3 | print x 4 | -------------------------------------------------------------------------------- /test/good/sets/for02.out: -------------------------------------------------------------------------------- 1 | -3.5 2 | -------------------------------------------------------------------------------- /test/good/sets/for03.out: -------------------------------------------------------------------------------- 1 | 2 2 | 3 3 | -------------------------------------------------------------------------------- /test/good/sets/for04.out: -------------------------------------------------------------------------------- 1 | 11 2 | -0.875 3 | -------------------------------------------------------------------------------- /test/good/sets/for05.out: -------------------------------------------------------------------------------- 1 | true 2 | -------------------------------------------------------------------------------- /test/good/sets/for06.out: -------------------------------------------------------------------------------- 1 | a 2 | b 3 | 3 4 | -------------------------------------------------------------------------------- /test/good/sets/for07.out: -------------------------------------------------------------------------------- 1 | 1 3 2 | -------------------------------------------------------------------------------- /test/good/sets/method02.out: -------------------------------------------------------------------------------- 1 | {"xyz"} 2 | 2 3 | -------------------------------------------------------------------------------- /test/good/sets/method04.out: -------------------------------------------------------------------------------- 1 | {} 2 | 24 3 | true 4 | 0 5 | -------------------------------------------------------------------------------- /test/good/sets/method05.out: -------------------------------------------------------------------------------- 1 | 2 2 | {true} 3 | -------------------------------------------------------------------------------- /test/good/sets/op02.out: -------------------------------------------------------------------------------- 1 | {6} 2 | {} 3 | true 4 | -------------------------------------------------------------------------------- /test/good/sets/op03.out: -------------------------------------------------------------------------------- 1 | {"bc"} 2 | {} 3 | false 4 | -------------------------------------------------------------------------------- /test/good/sets/op04.out: -------------------------------------------------------------------------------- 1 | {3} 2 | true 3 | -------------------------------------------------------------------------------- /test/good/sets/op05.out: -------------------------------------------------------------------------------- 1 | true 2 | {} 3 | -------------------------------------------------------------------------------- /test/good/sets/op06.out: -------------------------------------------------------------------------------- 1 | {3} 2 | {true} 3 | {} 4 | -------------------------------------------------------------------------------- /test/good/sets/order01.out: -------------------------------------------------------------------------------- 1 | {5, 8, 0, -1, 15, 4, 7} 2 | -------------------------------------------------------------------------------- /test/good/sets/order03.out: -------------------------------------------------------------------------------- 1 | B D 2 | {'Z', 'N'} 3 | -------------------------------------------------------------------------------- /test/good/sets/print01.out: -------------------------------------------------------------------------------- 1 | true 2 | -------------------------------------------------------------------------------- /test/good/sets/range01.out: -------------------------------------------------------------------------------- 1 | {} 2 | {0} 3 | -------------------------------------------------------------------------------- /test/good/sets/range02.out: -------------------------------------------------------------------------------- 1 | 1281 2 | -------------------------------------------------------------------------------- /test/good/sets/range02.px: -------------------------------------------------------------------------------- 1 | 2 | print ({146..7832 by 6} - {152}).length 3 | -------------------------------------------------------------------------------- /test/good/sets/range03.out: -------------------------------------------------------------------------------- 1 | 53 2 | {1} 3 | -------------------------------------------------------------------------------- /test/good/sets/range04.out: -------------------------------------------------------------------------------- 1 | true 2 | 28 3 | -------------------------------------------------------------------------------- /test/good/sets/range05.out: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /test/good/sets/set01.out: -------------------------------------------------------------------------------- 1 | {1} 2 | -------------------------------------------------------------------------------- /test/good/sets/set01.px: -------------------------------------------------------------------------------- 1 | 2 | print {1, 1} 3 | -------------------------------------------------------------------------------- /test/good/sets/set02.out: -------------------------------------------------------------------------------- 1 | 3 2 | -------------------------------------------------------------------------------- /test/good/sets/set03.out: -------------------------------------------------------------------------------- 1 | 2 2 | -------------------------------------------------------------------------------- /test/good/sets/set04.out: -------------------------------------------------------------------------------- 1 | 3 2 | -------------------------------------------------------------------------------- /test/good/sets/set05.out: -------------------------------------------------------------------------------- 1 | {(2, ("abc", false))} 2 | -------------------------------------------------------------------------------- /test/good/sets/set05.px: -------------------------------------------------------------------------------- 1 | 2 | t = (2, ("abc", false)) 3 | print {t, t} 4 | -------------------------------------------------------------------------------- /test/good/sets/set06.out: -------------------------------------------------------------------------------- 1 | 4 2 | -------------------------------------------------------------------------------- /test/good/sets/set07.out: -------------------------------------------------------------------------------- 1 | ({1}, {-1.75}) 2 | -------------------------------------------------------------------------------- /test/good/sets/set07.px: -------------------------------------------------------------------------------- 1 | 2 | x: {Int}*{Float} = {1}, {-7/4} 3 | print x 4 | -------------------------------------------------------------------------------- /test/good/sets/set08.out: -------------------------------------------------------------------------------- 1 | {"abc"} 2 | {"x"} 3 | -------------------------------------------------------------------------------- /test/good/sets/spread01.out: -------------------------------------------------------------------------------- 1 | true 2 | 3 3 | -------------------------------------------------------------------------------- /test/good/sets/spread02.out: -------------------------------------------------------------------------------- 1 | {"xyz"} 2 | true 3 | -------------------------------------------------------------------------------- /test/good/sets/spread03.out: -------------------------------------------------------------------------------- 1 | true 2 | 3 3 | -------------------------------------------------------------------------------- /test/good/sets/spread04.out: -------------------------------------------------------------------------------- 1 | 4 2 | -------------------------------------------------------------------------------- /test/good/strings/char01.out: -------------------------------------------------------------------------------- 1 | x 2 | -------------------------------------------------------------------------------- /test/good/strings/char01.px: -------------------------------------------------------------------------------- 1 | 2 | print 'x' 3 | -------------------------------------------------------------------------------- /test/good/strings/char02.out: -------------------------------------------------------------------------------- 1 | B $ a 2 | -------------------------------------------------------------------------------- /test/good/strings/char03.out: -------------------------------------------------------------------------------- 1 | true 2 | false 3 | -------------------------------------------------------------------------------- /test/good/strings/char04.out: -------------------------------------------------------------------------------- 1 | x 1 2 | -------------------------------------------------------------------------------- /test/good/strings/char05.out: -------------------------------------------------------------------------------- 1 | d ) 2 | < L 3 | 25 -2 4 | -------------------------------------------------------------------------------- /test/good/strings/cmp01.out: -------------------------------------------------------------------------------- 1 | ok 2 | -------------------------------------------------------------------------------- /test/good/strings/cmp03.out: -------------------------------------------------------------------------------- 1 | 26 Y 2 | false 3 | -------------------------------------------------------------------------------- /test/good/strings/concat01.out: -------------------------------------------------------------------------------- 1 | Hello world! 2 | -------------------------------------------------------------------------------- /test/good/strings/concat03.out: -------------------------------------------------------------------------------- 1 | x$-a6 4 2 | -------------------------------------------------------------------------------- /test/good/strings/empty01.out: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /test/good/strings/empty01.px: -------------------------------------------------------------------------------- 1 | 2 | print "" 3 | -------------------------------------------------------------------------------- /test/good/strings/empty02.out: -------------------------------------------------------------------------------- 1 | true 2 | -------------------------------------------------------------------------------- /test/good/strings/empty02.px: -------------------------------------------------------------------------------- 1 | 2 | s: String 3 | print s, s.empty 4 | -------------------------------------------------------------------------------- /test/good/strings/escape01.out: -------------------------------------------------------------------------------- 1 | escape"\ 2 | test 3 | -------------------------------------------------------------------------------- /test/good/strings/escape01.px: -------------------------------------------------------------------------------- 1 | 2 | s = "escape\"\\\n\ttest" 3 | print s 4 | -------------------------------------------------------------------------------- /test/good/strings/for01.out: -------------------------------------------------------------------------------- 1 | a 2 | x 3 | z 4 | -------------------------------------------------------------------------------- /test/good/strings/for02.out: -------------------------------------------------------------------------------- 1 | a 2 | d 3 | g 4 | -------------------------------------------------------------------------------- /test/good/strings/for02.px: -------------------------------------------------------------------------------- 1 | 2 | for c in "abcdefg" by 3 do 3 | print c 4 | -------------------------------------------------------------------------------- /test/good/strings/for03.out: -------------------------------------------------------------------------------- 1 | 1Ag 2 | 3Be 3 | 5Cc 4 | -------------------------------------------------------------------------------- /test/good/strings/format01.out: -------------------------------------------------------------------------------- 1 | 34 586586 2 | -------------------------------------------------------------------------------- /test/good/strings/format03.out: -------------------------------------------------------------------------------- 1 | #98334 false 2 | 8Z %d' -32778 3 | -------------------------------------------------------------------------------- /test/good/strings/format04.out: -------------------------------------------------------------------------------- 1 | '(0.5, [[false]])" 2 | -------------------------------------------------------------------------------- /test/good/strings/format04.px: -------------------------------------------------------------------------------- 1 | 2 | print "'{1/2, [[false]]}\"" 3 | -------------------------------------------------------------------------------- /test/good/strings/multiply02.out: -------------------------------------------------------------------------------- 1 | 0 2 | z 3 | -------------------------------------------------------------------------------- /test/good/strings/print01.out: -------------------------------------------------------------------------------- 1 | abcxy 2 | z 3 | -------------------------------------------------------------------------------- /test/good/strings/print01.px: -------------------------------------------------------------------------------- 1 | 2 | s = "abc" + 0.char 3 | print s + "xy\nz" 4 | -------------------------------------------------------------------------------- /test/good/strings/slice01.out: -------------------------------------------------------------------------------- 1 | a bcd efg 2 | fg ab 3 | -------------------------------------------------------------------------------- /test/good/strings/slice02.out: -------------------------------------------------------------------------------- 1 | @$ 5 2 | %$ #! @! 3 | -------------------------------------------------------------------------------- /test/good/strings/spread01.px: -------------------------------------------------------------------------------- 1 | 2 | print [..."zyx"] 3 | -------------------------------------------------------------------------------- /test/good/strings/string01.out: -------------------------------------------------------------------------------- 1 | Hello world! 2 | -------------------------------------------------------------------------------- /test/good/strings/string01.px: -------------------------------------------------------------------------------- 1 | 2 | print "Hello world!" 3 | -------------------------------------------------------------------------------- /test/good/strings/string02.out: -------------------------------------------------------------------------------- 1 | true 2 | 6 3 | -------------------------------------------------------------------------------- /test/good/strings/string03.out: -------------------------------------------------------------------------------- 1 | @ 2 | # 3 | -------------------------------------------------------------------------------- /test/good/strings/string04.out: -------------------------------------------------------------------------------- 1 | z 2 | -------------------------------------------------------------------------------- /test/good/strings/string04.px: -------------------------------------------------------------------------------- 1 | 2 | print "zyx"[-3] 3 | -------------------------------------------------------------------------------- /test/good/strings/string05.out: -------------------------------------------------------------------------------- 1 | 363@\ -------------------------------------------------------------------------------- /test/good/tuples/cmp01.out: -------------------------------------------------------------------------------- 1 | OK 2 | -------------------------------------------------------------------------------- /test/good/tuples/cmp02.out: -------------------------------------------------------------------------------- 1 | 0 2 | 1 3 | 2 4 | 3 5 | -------------------------------------------------------------------------------- /test/good/tuples/cmp04.out: -------------------------------------------------------------------------------- 1 | true 2 | false 3 | -------------------------------------------------------------------------------- /test/good/tuples/decl01.out: -------------------------------------------------------------------------------- 1 | (1, "abc") 2 | -------------------------------------------------------------------------------- /test/good/tuples/decl01.px: -------------------------------------------------------------------------------- 1 | 2 | t: Int*String = 1, "abc" 3 | print t 4 | -------------------------------------------------------------------------------- /test/good/tuples/decl02.out: -------------------------------------------------------------------------------- 1 | 0 x x 2 | -------------------------------------------------------------------------------- /test/good/tuples/decl03.out: -------------------------------------------------------------------------------- 1 | [1] [2e+20] 2 | -------------------------------------------------------------------------------- /test/good/tuples/decl04.out: -------------------------------------------------------------------------------- 1 | ([[{1e-50}]], []) 2 | -------------------------------------------------------------------------------- /test/good/tuples/default01.out: -------------------------------------------------------------------------------- 1 | (0, false) 2 | -------------------------------------------------------------------------------- /test/good/tuples/default01.px: -------------------------------------------------------------------------------- 1 | 2 | t: Int*Bool 3 | print t 4 | -------------------------------------------------------------------------------- /test/good/tuples/default02.out: -------------------------------------------------------------------------------- 1 | (0, [], (null, "")) 2 | -------------------------------------------------------------------------------- /test/good/tuples/tuple01.out: -------------------------------------------------------------------------------- 1 | 3 2 | -7 3 | -------------------------------------------------------------------------------- /test/good/tuples/tuple02.out: -------------------------------------------------------------------------------- 1 | 13 2 | 23 3 | -------------------------------------------------------------------------------- /test/good/tuples/tuple03.out: -------------------------------------------------------------------------------- 1 | -3 2 | -------------------------------------------------------------------------------- /test/good/tuples/tuple04.out: -------------------------------------------------------------------------------- 1 | 198 2 | -------------------------------------------------------------------------------- /test/good/tuples/tuple05.out: -------------------------------------------------------------------------------- 1 | -1 2 | -------------------------------------------------------------------------------- /test/good/tuples/tuple06.out: -------------------------------------------------------------------------------- 1 | 34#CÐ -------------------------------------------------------------------------------- /test/good/tuples/tuple08.out: -------------------------------------------------------------------------------- 1 | 4 2 | (3, 9) 3 | -------------------------------------------------------------------------------- /test/requirements.txt: -------------------------------------------------------------------------------- 1 | colorama 2 | -------------------------------------------------------------------------------- /version.txt: -------------------------------------------------------------------------------- 1 | 0.14.0 --------------------------------------------------------------------------------