2026-07-08 10:01:58 +02:00
|
|
|
## Nimcheck master test runner.
|
feat: add initial validatrix project with multi-language validator framework
Establish the Validatrix source code validation framework in Nim, including core detection, tokenization, and validation infrastructure for 10 languages (bash, HTML, JavaScript, Jinja, JSON, Nim, PHP, Python, TOML, YAML). The initial commit introduces the main validatrix.nim entry point with public API (validateSource, validateFile, inspectSource), a comprehensive test suite with per-language test files, build configuration via Makefile and .nimble, detailed LESSONS_LEARNED.md documenting 14 bug classes found during development, and a .gitignore excluding compiled binaries, logs, and build artifacts. The detector module provides extension-to-flavor mapping for 40+ file extensions and content-based language detection, while the debug module supports conditional compilation with -d:validatrixDebug for detailed tokenization logging.
2026-07-08 06:25:59 +02:00
|
|
|
## Compile: nim c -r tests/test_all.nim
|
|
|
|
|
|
|
|
|
|
import ./test_nim
|
|
|
|
|
import ./test_nim_exhaustive
|
|
|
|
|
import ./test_bash
|
|
|
|
|
import ./test_bash_exhaustive
|
|
|
|
|
import ./test_python
|
|
|
|
|
import ./test_python_exhaustive
|
|
|
|
|
import ./test_javascript
|
|
|
|
|
import ./test_javascript_exhaustive
|
feat: add extended language validators and fix tokenizer crash bugs
Expand nimcheck with validators and tokenizers for C, C++, C#, Go, Rust,
Ruby, CSS, SQL, Markdown, Dockerfile, Makefile, Kotlin, Lua, Swift,
TypeScript, and XML. Register all flavors in the validator factory and
improve auto-detection scoring for the new languages.
Fix infinite tokenizer loops that caused OOM kills: closeBracket now
advances position, finishTokenizeStep guards stalled tokenization, and
Jinja/JS tokenizers no longer double-advance on brackets.
Fix block-balance false positives in Lua (for/do) and Ruby (postfix
unless), SQL trailing-comma detection across whitespace, and Makefile
tab literals in test fixtures.
2026-07-15 06:49:45 +02:00
|
|
|
import ./test_typescript
|
|
|
|
|
import ./test_typescript_exhaustive
|
feat: add initial validatrix project with multi-language validator framework
Establish the Validatrix source code validation framework in Nim, including core detection, tokenization, and validation infrastructure for 10 languages (bash, HTML, JavaScript, Jinja, JSON, Nim, PHP, Python, TOML, YAML). The initial commit introduces the main validatrix.nim entry point with public API (validateSource, validateFile, inspectSource), a comprehensive test suite with per-language test files, build configuration via Makefile and .nimble, detailed LESSONS_LEARNED.md documenting 14 bug classes found during development, and a .gitignore excluding compiled binaries, logs, and build artifacts. The detector module provides extension-to-flavor mapping for 40+ file extensions and content-based language detection, while the debug module supports conditional compilation with -d:validatrixDebug for detailed tokenization logging.
2026-07-08 06:25:59 +02:00
|
|
|
import ./test_php
|
|
|
|
|
import ./test_php_exhaustive
|
|
|
|
|
import ./test_html
|
|
|
|
|
import ./test_html_exhaustive
|
feat: add extended language validators and fix tokenizer crash bugs
Expand nimcheck with validators and tokenizers for C, C++, C#, Go, Rust,
Ruby, CSS, SQL, Markdown, Dockerfile, Makefile, Kotlin, Lua, Swift,
TypeScript, and XML. Register all flavors in the validator factory and
improve auto-detection scoring for the new languages.
Fix infinite tokenizer loops that caused OOM kills: closeBracket now
advances position, finishTokenizeStep guards stalled tokenization, and
Jinja/JS tokenizers no longer double-advance on brackets.
Fix block-balance false positives in Lua (for/do) and Ruby (postfix
unless), SQL trailing-comma detection across whitespace, and Makefile
tab literals in test fixtures.
2026-07-15 06:49:45 +02:00
|
|
|
import ./test_xml
|
|
|
|
|
import ./test_xml_exhaustive
|
feat: add initial validatrix project with multi-language validator framework
Establish the Validatrix source code validation framework in Nim, including core detection, tokenization, and validation infrastructure for 10 languages (bash, HTML, JavaScript, Jinja, JSON, Nim, PHP, Python, TOML, YAML). The initial commit introduces the main validatrix.nim entry point with public API (validateSource, validateFile, inspectSource), a comprehensive test suite with per-language test files, build configuration via Makefile and .nimble, detailed LESSONS_LEARNED.md documenting 14 bug classes found during development, and a .gitignore excluding compiled binaries, logs, and build artifacts. The detector module provides extension-to-flavor mapping for 40+ file extensions and content-based language detection, while the debug module supports conditional compilation with -d:validatrixDebug for detailed tokenization logging.
2026-07-08 06:25:59 +02:00
|
|
|
import ./test_jinja
|
|
|
|
|
import ./test_jinja_exhaustive
|
|
|
|
|
import ./test_json_exhaustive
|
|
|
|
|
import ./test_yaml_exhaustive
|
|
|
|
|
import ./test_toml_exhaustive
|
|
|
|
|
import ./test_config
|
|
|
|
|
import ./test_mixed
|
feat: add extended language validators and fix tokenizer crash bugs
Expand nimcheck with validators and tokenizers for C, C++, C#, Go, Rust,
Ruby, CSS, SQL, Markdown, Dockerfile, Makefile, Kotlin, Lua, Swift,
TypeScript, and XML. Register all flavors in the validator factory and
improve auto-detection scoring for the new languages.
Fix infinite tokenizer loops that caused OOM kills: closeBracket now
advances position, finishTokenizeStep guards stalled tokenization, and
Jinja/JS tokenizers no longer double-advance on brackets.
Fix block-balance false positives in Lua (for/do) and Ruby (postfix
unless), SQL trailing-comma detection across whitespace, and Makefile
tab literals in test fixtures.
2026-07-15 06:49:45 +02:00
|
|
|
import ./test_c
|
|
|
|
|
import ./test_c_exhaustive
|
|
|
|
|
import ./test_cpp
|
|
|
|
|
import ./test_cpp_exhaustive
|
|
|
|
|
import ./test_java
|
|
|
|
|
import ./test_java_exhaustive
|
|
|
|
|
import ./test_csharp
|
|
|
|
|
import ./test_csharp_exhaustive
|
|
|
|
|
import ./test_kotlin
|
|
|
|
|
import ./test_kotlin_exhaustive
|
|
|
|
|
import ./test_lua
|
|
|
|
|
import ./test_lua_exhaustive
|
|
|
|
|
import ./test_swift
|
|
|
|
|
import ./test_swift_exhaustive
|
|
|
|
|
import ./test_go
|
|
|
|
|
import ./test_go_exhaustive
|
|
|
|
|
import ./test_rust
|
|
|
|
|
import ./test_rust_exhaustive
|
|
|
|
|
import ./test_ruby
|
|
|
|
|
import ./test_ruby_exhaustive
|
|
|
|
|
import ./test_css
|
|
|
|
|
import ./test_css_exhaustive
|
|
|
|
|
import ./test_sql
|
|
|
|
|
import ./test_sql_exhaustive
|
|
|
|
|
import ./test_markdown
|
|
|
|
|
import ./test_markdown_exhaustive
|
|
|
|
|
import ./test_dockerfile
|
|
|
|
|
import ./test_dockerfile_exhaustive
|
|
|
|
|
import ./test_makefile
|
|
|
|
|
import ./test_makefile_exhaustive
|
feat: add initial validatrix project with multi-language validator framework
Establish the Validatrix source code validation framework in Nim, including core detection, tokenization, and validation infrastructure for 10 languages (bash, HTML, JavaScript, Jinja, JSON, Nim, PHP, Python, TOML, YAML). The initial commit introduces the main validatrix.nim entry point with public API (validateSource, validateFile, inspectSource), a comprehensive test suite with per-language test files, build configuration via Makefile and .nimble, detailed LESSONS_LEARNED.md documenting 14 bug classes found during development, and a .gitignore excluding compiled binaries, logs, and build artifacts. The detector module provides extension-to-flavor mapping for 40+ file extensions and content-based language detection, while the debug module supports conditional compilation with -d:validatrixDebug for detailed tokenization logging.
2026-07-08 06:25:59 +02:00
|
|
|
import ./test_fuzz
|