Changes between Version 5 and Version 6 of NQPDocs

Show
Ignore:
Timestamp:
11/21/09 21:31:25 (5 years ago)
Author:
pmichaud
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NQPDocs

    v5 v6  
    8819:52:02 < cconstantine> rule cons { [<term> ]* {*}}  <---- loop through the <term>s backwards 
    99}}} 
     10 
     11{{{ 
     12my $n := +$<term> - 1; 
     13while $n >= 0 {  
     14    # do something with $<term>[$n] here 
     15    $n := $n - 1; 
     16} 
     17}}} 
     18 
    1019  * A basic tutorial for HLL implementers that starts from step 1 of using mk_language_shell.pl and ends with some new type of builtin implemented and a custom Configure-time check being added to the build process in the new HLL. Basically, an updated squawk tutorial, but perhaps shorter and easier to get into. 
     20 
     21nqp-rx abandons mk_language_shell.pl altogether.  We'll probably come up with a new one.  Yes, we need a full-on tutorial, I just haven't had time to write it.  It would help to know a language to use as a tutorial example. 
     22 
    1123 
    1224 * How do I use threads in NQP? 
    1325 
     26How does one use threads in Parrot?  (This isn't meant to be glib -- before I can explain how to use threads in NQP, I need to know how one can use them in Parrot.  --Pm) 
     27 
    1428 * How do I use PIR from NQP? 
     29 
     30One can either use the PIR opcodes directly with pir::opcode($args), or one can substitute long sequences of PIR using Q:PIR { ... }. 
     31