Show HN: Succinctly manipulate dom-like trees from java
kbsriram.github.com2 pointsby kbs0 comments
$ curl -s www.apple.com/uk/ | grep -A 1 /sosumi
</div><!--/sosumi-->
<p class="statement">On 25 October 2012, Apple Inc. published a statement on its UK website...
http://forum.6502.org/viewtopic.php?p=17736
There is a (relatively easier to understand) stack-based expression evaluator, with hooks to allow for operator precedence. The interesting part is the scanner, which converts each line of BASIC into the tokens used by the evaluator. This is the bit that has the "syntax table diagram".
You may also find this article by Woz on the Apple][ from the '77 BYTE magazine a pretty interesting read.
http://www.downloads.reactivemicro.com/Public/Users/Grant_St...