Merge: Examples class name
authorJean Privat <jean@pryen.org>
Thu, 5 May 2016 01:30:17 +0000 (21:30 -0400)
committerJean Privat <jean@pryen.org>
Thu, 5 May 2016 01:30:17 +0000 (21:30 -0400)
@Morriar was interested in the `try_get_mclass_by_id` for its documentation services but wanted to pass a string (and not a AST node) and work on all module (not just one).

I suggested to use parse_something to transform the string into a qualified class name then filter the classes of the model on it. As an experimentation, I wrote a simple example program that does this.

@Morriar then suggested to put the sample program in the repository to document how can the various tools of the model can be used to do things.

This PR inaugurate the new directory `src/examples` that is intended to contains small snippets and programs that use the `nitc` package.

Pull-Request: #2050
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>


Trivial merge