Revision 3f48e1c0d84bf4909954154ad147559656e87516 authored by Tim Foley on 19 July 2017, 16:36:35 UTC, committed by Tim Foley on 20 July 2017, 01:15:37 UTC
The change is mostly about trying to make sure the compiler "fails safe" when it encounters an internal assumption that isn't met.
Most internal errors will now throw exceptions (yes, exceptions are evil, but this will work for now), and these get caught in `spCompile` so that they don't propagate to the user (they just see a message that compilation aborted due to an internal error).

Subsequent changes are going to need to work on diagnosing as many of these situations as possible, so that users can at least know what construct in their code was unexpected or unhandled by the compiler.
1 parent a2b8b4c
History
File Mode Size
build
examples
external
source
tests
tools
.gitignore -rw-r--r-- 385 bytes
.gitmodules -rw-r--r-- 107 bytes
LICENSE -rw-r--r-- 1.1 KB
README.md -rw-r--r-- 1.5 KB
appveyor.yml -rw-r--r-- 3.3 KB
slang.h -rw-r--r-- 30.8 KB
slang.sln -rw-r--r-- 6.4 KB
test.bat -rw-r--r-- 1.4 KB

README.md

back to top