S-expressions are a convenient notation for nested lists (lists of lists), most famously used in the Lisp programming language. This project unwraps a nested list provided as an s-expression into the following format: The first element of a list indicates the size, n. The next n elements are either atoms or indexes of other lists. The first list is the "root" list, but otherwise there is no particular order in which they are stored.
Jan 12: implemented optimization for highly nested s-expressions Jan 11: first version