Changes between Version 3 and Version 4 of LoritoOps

Show
Ignore:
Timestamp:
07/21/10 03:14:04 (12 years ago)
Author:
cotto
Comment:

remove some unneeded ops, add say to the temporary i/o ops

Legend:

Unmodified
Added
Removed
Modified
  • LoritoOps

    v3 v4  
    33=== Control Flow (5 ops) === 
    44 * noop - do nothing 
    5  * call - call a sub (or an object method or vtable function) 
     5 * call - call a sub, method or vtable function 
    66 * end  - halt the interpreter cleanly 
    77 * goto - unconditional branch 
     
    3030 * isge_[in] - a >= b 
    3131 
    32 === Objects (8 ops) === 
    33  * box        - turn an int, float or string into an object 
    34  * new        - create a new object 
    35  * new_[insp] - create a new object with an argument 
    36  * getattr    - retrieve an object attribute's value 
    37  * setattr    - set an object attribute's value 
     32=== Objects (5 ops) === 
     33 * new      - create a new object 
     34 * new_[ip] - create a new object with an initializer 
     35 * get_attr - retrieve an object attribute's value 
     36 * set_attr - set an object attribute's value 
    3837 
    3938=== Other (1 op) === 
    4039 * loadlib - load a (dll/so, pbc or HLL?) library 
    4140 
    42 === I/O (3 ops, bootstrapping only) === 
    43 These three ops are only intended for use during Lorito's implementation phase.  Once Lorito matures to the point where we have a fixed set of ops and have tools that can generate Lorito, we expect these ops to become methods on a FileHandle. 
     41=== I/O (4 ops, bootstrapping only) === 
     42These four ops are only intended for use during Lorito's implementation phase.  Once Lorito matures to the point where we have a fixed set of ops and have tools that can generate Lorito, we expect these ops to become methods on a FileHandle.   
    4443 
    4544 * read  - read from stdin 
    4645 * write - write to stdout 
     46 * say   - write to stdout and append a newline 
    4747 * gripe - write to stderr 
    4848