Run Perl 6 now -- in your browser!
Welcome to runpugs, a web terminal for pugs. Pugs is an implementation of Perl 6 which aims to implement the full Perl 6 specification.
runpugs lives at run.pugscode.org.
By default, the Pugs session will use the latest release. You can try the latest development snapshot of Pugs by selecting the 'Development' radio button.
Don't hesitate to test the development version of runpugs:
- try the interactive session with command history
- or run a full Perl 6 script in non-interactive mode.
Instructions
runpugs presents the pugs interactive shell. Only the line typed at the last prompt is sent to pugs.
runpugs-specific commands:
help
- displays the Pugs shell help (same as
:h
) clear
- clears the web terminal (this command is not sent to the pugs shell).
quit
,bye
- quit the Pugs session (same as
:q
)
Please be considerate and do quit your pugs session before you close the browser window.
Restrictions
Because this is a web terminal, a number of restrictions apply:
- The
pugs
shell runs in safe mode, so system-related calls are disabled. - If a call takes too long, the
pugs
session will time out. - If a call produces too much output, the
pugs
session will abort. - If left idle for too long, the
pugs
session will time out. - The total number of sessions and number of sessions from a given IP address are limited.
- Memory available to
pugs
is severely limited.
The current values relating to the above restrictions are:
- Inactivity time-out: 10 minutes
- "Long" call time-out: 10 seconds
- Maximum number of lines of output: 250
- Maximum number of characters perl line of output: 250
- Sessions per IP: 10
- Total number of sessions: 50
- Available memory: 64M.
All of these are open to change if they would prove to be too restrictive.
Known issues
runpugs is a very young project, and there will certainly be some bugs. Some known issues are:
- Unicode is not supported.
- There is no command history.
Source
You can find the source code for runpugs (in Perl 5) in the pugs subversion repository under
/misc/runpugs
.
Thank you for trying pugs and runpugs!
© Copyright 2006 by Wim Vanderbauwhede