A library consisting of utilities like a file parser (WXN) and others.
It's a parser similar to XML, but with simpler syntax and better (native) compatibility with C#.
We created it to use it with the XNA Framework (MonoGame). WXN was our first attempt to create a file reader/writer. It reads .wxn files and converts the data into WXNFileContent.
The WXN main syntax must be interpreted as two main objects types: Pure (Implicit) objects or Impure (Explicit) objects. Here is a sample:
// Pure
<Version: 1>
<SceneName: RND>
<SceneMaxObjsCount: 30>
<SceneMaxObjs: ["A", "B", 33, Uk]>
// Impure
PlayerLife<Int>: 100
PLayerName<String>: "Renan"
PlayerWeapons<Array_String>: ["Sword", "Bow", "Hammer"]But... What's the diference between then?
Pure (Implicit): the data types are defined by the object value.
Impure (Explicit): the data types are defined by the object type.