DemeterF Examples
More Complicated DemeterF/DemeterJ Example:
Compiler/Assembler
Below are links to a few simpler examples using the Library. More
recent ones first. Each one has highlighted code (Html) and plain
java links.
NewUpdate is a test of the new update method protocol. It's now possible to change a traversal argument for different paths (fields).
Html -- Java
ArrayTest is a test of array map support.
Html -- Java
NullTest shows how DemeterF supports null fields (under a global flag).
Html -- Java
ThunkTest is a test of the experimental type based traversal control.
Html -- Java
Compose is an example of traversal composition using the new compose package.
Html -- Java
TUExample is a test of the new generic TUCombiner class.
Html -- Java
TossExample is a test of the new ValueThrow class that allows traversals to be cut short.
Html -- Java
ParallelTree is a quick test of Parallel Traversals.
Html -- Java
FuncTest is a DemeterF version of functional lists and map, fold, and others.
Html -- Java
EvalTest is a simple arithmetic example.
Html -- Java
ContainerCheck is a solution to the classic container checking problem.
Html -- Java