README and comment tweaks.
Cat's Eye Technologies
12 years ago
0 | 0 | Velo |
1 | 1 | ==== |
2 | ||
3 | _Language version 0.1, distribution revision 2012.0714_ | |
2 | 4 | |
3 | 5 | > "Jaws was never my scene, and I don't like Star Wars." |
4 | 6 | > -- Queen, "Bicycle Race" |
40 | 42 | |
41 | 43 | Conditional statements are implemented by a method called `if`. |
42 | 44 | This method is on the root object, called `Object`, from which all |
43 | objects, including your script, inherit. | |
45 | objects, including your script, descend. | |
44 | 46 | |
45 | 47 | | if ({X}.equals {X}), {IO.print {Yes}}, {IO.print {No}} |
46 | 48 | = Yes |
487 | 489 | Summary of methods on `Object` |
488 | 490 | ------------------------------ |
489 | 491 | |
490 | * `extend` <string> | |
492 | * `extend` STRING | |
491 | 493 | * `self` |
492 | 494 | * `new` ... |
493 | 495 | * `Object`, `String`, `IO`, and all other predefined classes |
495 | 497 | Summary of methods on `String` |
496 | 498 | ------------------------------ |
497 | 499 | |
498 | * `if` <string>, <string> | |
499 | * `while` <string> | |
500 | * `if` STRING, STRING | |
501 | * `while` STRING | |
500 | 502 | * `class` |
501 | * `method` <string> | |
502 | * `concat` <string> | |
503 | * `eval` <string> | |
503 | * `method` STRING | |
504 | * `concat` STRING | |
505 | * `eval` STRING | |
504 | 506 | |
505 | 507 | Summary of methods on `IO` |
506 | 508 | -------------------------- |
507 | 509 | |
508 | * `print` <string> | |
510 | * `print` STRING | |
509 | 511 | * `input` |
510 | 512 | |
511 | 513 | Grammar |