Hi,
typical socket ocde currently looks a bit unfriendly due to magic constants,
e.g.
socket sock, 2, 1, 6# PF_INET, SOCK_STREAM, tcp
I'd like to have symbolic constants for all that stuff:
socket sock .PF_INET, .SOCK_STREAM, .PROTO_tcp
Appended is a C snippet, which produces
Hi again,
Haded some more tests to check for white spaces problems. Some tests
fail to parse and so are marked todo. Attached to this message is the
patch for the file 't/compilers/json/to_parrot.t'.
Best regards,
./smash
On 9/7/06, Nuno Carvalho <[EMAIL PROTECTED]> wrote:
Hi all,
I haded so
Thanks, applied, along with the previous patch.
On Friday 08 September 2006 03:38, Leopold Toetsch wrote:
> typical socket ocde currently looks a bit unfriendly due to magic
> constants, e.g.
>
> socket sock, 2, 1, 6 # PF_INET, SOCK_STREAM, tcp
>
> I'd like to have symbolic constants for all that stuff:
>
> socket sock .PF_INET, .SO
On Thu Aug 24 08:03:56 2006, smash wrote:
> Hi all,
>
> Inspired in the new t/compilers/pge/p6regex/01-regex.t written in PIR
> by Coke, I have rewritten t/compilers/pge/06-grammar.t in PIR. The
> test became four times faster. I think this test file should replace
> the current t/compilers/pge/0