marekjm / viuavm

Parallel virtual machine designed to reliably run massively concurrent programs
https://viuavm.org/
GNU General Public License v3.0
71 stars 11 forks source link

Generic information section in compiled files #132

Closed marekjm closed 8 years ago

marekjm commented 8 years ago

Compiled files should contain a section containing a string-string map for storing generic information about the file. This section would contain metadata such as compilation date, compilation flags, name of source file etc.

Inside assembly source code file following directive is used to insert a key-value pair:

.info: a_key "a value"

Keys are formed with lowercase and uppercase ASCII letters, digits and underscore sign; keys must begin with lowercase or uppecase ASCII letter. Values are double quoted strings.