Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

autrijus (1505)

autrijus
  (email not shown publicly)
http://pugs.blogs.com/

Journal of autrijus (1505)

Wednesday February 16, 2005
12:47 PM

Day 16: All tests successful.

[ #23216 ]
Pugs's t/01basic.t now looks like this:

use v6;

=pod

This is a test file.  Whee!

=cut

say "1..2";
say "ok 1 # Welcome to Pugs!";

sub cool { fine($_) ~ " # We've got " ~ toys }
sub fine { "ok " ~ $_ }
sub toys { "fun and games!" }

say cool 2 # and that's it, folks!

... and yes, it runs with "make test" just fine. More unit tests will be added later, including many TODO ones.

Other stuffs I've finished today:

  • Code literals -- "sub", "pointy" and "bare" variants all works
  • Lexical subroutine declarations via "my sub"
  • Global subroutine and variables work again, via the envGlobal pad
  • The "say", "exit", "die" primitives
  • Bool.perl now prints correct literals (lwall)
  • Blocks under void contexts now evaluates automatically
  • The "..." (dotdotdot) literal

From tomorrow on I'll shift my focus at more documentation and testing stuff, including the first Apocrypha on "how to start hacking Pugs". Also the semester is starting, so it means Bestian won't be able to help hacking it as much as he did; I've also got $real_paying_work to do, so the development speed is expected to slow down a bit.

However little I did, though, I'll try keeping this daily blogging going on as long as possible, as I genuinely believe that this kind of communication is an effective way to push things forward. :-)

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.