Age | Commit message (Collapse) | Author |
|
|
|
|
|
to find common mistakes
|
|
|
|
|
|
|
|
Fix mutex issue in lhs expr which can cause a deadlock when a file has
an error and throws and doesn't close the mutex and another thread waits
for that mutex. The mutex can instead be removed and ignore race
conditions which are uncommon. This should improve memory usage and
performance.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
TODO: Use mutex in lhs expr and set resolved_type
|
|
Hash map now stores hash of keys to reduce the number of hash
operations.
Positive: faster insert/get.
Negative: more space required (to store usize hash).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Fix issue where not all files are parsed
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
It caused issues when you have parentheses to surround math expression,
for example: ((func() + 34) * 54)
is easier to parse if closure has to begin with 'fn'.
Also removed requirement for semicolons. Semicolons can't even be used
optionally yet.
|
|
|
|
already parsed
|
|
|
|
|
|
|
|
allocator
|
|
Scoped allocator gives us better performance and cleanup code for error
cases is much cleaner
|
|
Scoped allocator gives us better performance and cleanup code for error
cases is much cleaner
|
|
|
|
|
|
|