slang-project / SLang-Codegen-LLVM

The LLVM-based backend (code generator) for the SLang programming language compiler
3 stars 0 forks source link

Add SLang IR parser #5

Open deiuch opened 4 years ago

deiuch commented 4 years ago

Implement part responsible for parsing input provided by SLang compiler for external tools.

deiuch commented 4 years ago

SLang IR description: https://hackmd.io/@5rkU-ZCPR0GCQ944peyOIA/HyxI6l-xI

deiuch commented 3 years ago

The language specification was updated. https://github.com/akanatov/SLang-/blob/master/Docs/SLang%20reference%200.998.docx

deiuch commented 3 years ago

SLang IR is based on JSON data-interchange format. So, we need to establish this format in some machine-readable schema to be able to validate it. For this purpose, we can use this project (which is also available as vcpkg package): https://github.com/pboettch/json-schema-validator

deiuch commented 3 years ago

Schema will be developed in issue #31.