aboutsummaryrefslogtreecommitdiff
path: root/tests/src
Commit message (Collapse)AuthorAgeLines
* Fix crash for empty/invalid/not-found filepaths Spartan3222024-08-03-0/+48
| | | | | | Add tests to validate empty string path Add tests to validate non-existent string path Add tests to validate nullptr buffer parser
* Add `\x8F` to `Ę` conversion for Windows-1252fix/polish-todos Spartan3222024-08-02-0/+210
| | | | | | | | | To support special vanilla Polish TODOs that break utf8 Add CSV Win1252->Utf8 conversion tests Fix map_value warning not triggering Optimize for ascii characters
* Add backslash identifier support to v2scriptadd/backslash-identifier Spartan3222024-07-22-21/+38
| | | | | | | | Add buffer::char_type size multiplier to max file size of string intern buffer Fix list grammar segfaults Fix diagnostic logger intern segfaults from buffer reallocation Fix non-string-supported CSV parser not supporting Victoria 2 CSV escaping behavior
* Fix string interning pointer invalidity for ASTsimplify-string-interning Spartan3222024-07-05-4/+141
| | | | | | | | | | | | | | | | | | Fix errorneous string intern compare Add symbol interning tests Optimize non-conversion identifier cases Add `File::size()` Add InstanceOf concept Remove `FlatValue::value(const symbol_interner_type&)` Add `AbstractSyntaxTree::intern/intern_cst(lexy::lexeme)` overload Add `DiagnosticLogger::intern/intern_cstr(lexy::lexeme)` overload Use pinned_vector to maintain string interning pointer validity for buffers Add vmcontainer submodule for pinned_vector pinned_vector reserves virtual memory at runtime using OS APIs to maintain pointer validity Remove Exception and RTTI requirement from range-v3 submodule
* Add unit testsadd/unit-testing Spartan3222024-06-22-0/+1966
Make github action tests run explicit Fix dropping annotation list for Errors Fix potential empty get_errors crashes Fix incorrect csv error behavior Add use_sep for `LineObject` and `std::vector<LineObject>` Remove constexpr of load_from_buffer and load_from_string for parsers Add snitch-org/snitch@d6632123cc8d13bdbc5cd60fd6741b9e0f635e82 Make versioned submodules ignore dirty Add tests/bin/* to gitignore