A Perl 6 compiler-and-runtime written in Perl 6
License
masak/yapsi
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
master
Could not load branches
Nothing to show
Could not load tags
Nothing to show
{{ refName }}
default
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
-
Clone
Use Git or checkout with SVN using the web URL.
Work fast with our official CLI. Learn more about the CLI.
- Open with GitHub Desktop
- Download ZIP
Sign In Required
Please sign in to use Codespaces.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
= Yapsi -- Yet Another Perl Six Implementation This is an implementation of a Perl 6 compiler-and-runtime in Perl 6. == Building Yapsi $ ufo && make 'ufo' is a Makefile generator, and can be found at <http://github.com/masak/ufo>. == Features currently available in Yapsi Right now you can do things like this: $ bin/yapsi -e 'say 42' 42 $ bin/yapsi -e 'my $a; my $b = { $a = 5 }; $b(); say $a' 5 $ bin/yapsi -e 'my $a = 5; my $b := $a; $b = 41; ++$b; say $a' 42 $ bin/yapsi -e 'my $a = 42; while --$a { say $a }' In other words, Yapsi currently handles scalar variables, declaration, blocks, assignment, binding, prefix increment/decrement, if/while, and say. The compiler also detects syntax errors. $ bin/yapsi -e 'say say' Could not parse == Near-future directions Things we hope to implement in the immediate future: * More loops * Function calls * Phasers For more detailed information, see doc/ROADMAP. == Raison d'être Besides being useful as a p6-in-p6 implementation, Yapsi also might work as a fast vehicle for exploring the following underexplored areas of the Perl 6 spec: * Phasers * Constant folding * Early catching of errors * Increased communication between compiler and runtime == License Yapsi is released under Artistic 2.0. See LICENSE.
About
A Perl 6 compiler-and-runtime written in Perl 6
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published
Languages
- Other 100.0%