My favorites | Sign in
Project Home Downloads Wiki Issues Source
Project Information
Members
Links

In short.

Winxed is a language targeting parrot with a javascript-alike syntax and easy access to most parrot features: native types, modules, compilers, native call interface...

The intention is to be useful for low-level parrot development and for more mundane tasks, and to make an easy path to parrot programming by using a syntax familiar for most people.

Winxed web site is http://winxed.org/

Implementation.

Winxed is self-hosted. There is a stage 0 compiler written in C++ with limited features and stage 1 compiler written in Winxed. Both compilers generate PIR code, so a C++ compiler is not required to install Winxed or even modify it. Compiling to PIR the stage 1 compiler provides a compiler usable in any installed Parrot and able to compile itself.

Winxed has no runtime library, so the pir or pbc files created can run in any Parrot without installing Winxed on it.

Main differences with javascript.

Winxed has types for integer, string and floating point numbers, using the corresponding parrot register types.

Winxed allows typed parameters in functions, and modifiers in functions definitions and calls to access parrot calling conventions.

Winxed objects are not prototype based, the syntax for class and namespace definitions is borrowed from C++.

Powered by Google Project Hosting