Common Trace Format's specification has some interesting interactive examples. You can hover over parts of an example binary file to see how bytes map to part of the spec, and parts of the dumped data:
Slang is an object orientated scripting language that tries to combine the speed of scripting with an object orientated syntax similar to Java and C++. The language offers native data types like bool, double, float, int and string as well as user defined object types and a system library with data types similar to the Java boxed types like Integer and String. Collections like List, Map, etc. can be used with object and value types and can also be used as raw types (i.e. List == List<Object>).