Changes between Version 3 and Version 4 of LoritoOps
- Timestamp:
- 07/21/10 03:14:04 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
LoritoOps
v3 v4 3 3 === Control Flow (5 ops) === 4 4 * noop - do nothing 5 * call - call a sub (or an object method or vtable function)5 * call - call a sub, method or vtable function 6 6 * end - halt the interpreter cleanly 7 7 * goto - unconditional branch … … 30 30 * isge_[in] - a >= b 31 31 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 38 37 39 38 === Other (1 op) === 40 39 * loadlib - load a (dll/so, pbc or HLL?) library 41 40 42 === I/O ( 3ops, 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) === 42 These 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. 44 43 45 44 * read - read from stdin 46 45 * write - write to stdout 46 * say - write to stdout and append a newline 47 47 * gripe - write to stderr 48 48