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).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
|
|
|