Skip to content
Open
Changes from 1 commit
Commits
Show all changes
121 commits
Select commit Hold shift + click to select a range
f790bcc
feat: add ES2020+ language support for BigInt, optional chaining, and…
quintenkasteel Aug 17, 2025
0ece04a
feat: add pretty printing and minification support for ES2020+ features
quintenkasteel Aug 17, 2025
a7f0a68
feat: add comprehensive JSON serialization for JavaScript AST
quintenkasteel Aug 17, 2025
d349883
feat: add comprehensive test coverage for ES2020+ JavaScript features
quintenkasteel Aug 17, 2025
df8eeb3
docs: add coding standards and development workflow documentation
quintenkasteel Aug 17, 2025
42436a9
feat(parser): implement JSConciseBody for arrow function parsing
quintenkasteel Aug 17, 2025
308dd6c
feat(printer,minify): add JSConciseBody support for arrow functions
quintenkasteel Aug 17, 2025
5f3e519
feat(json): add JSON serialization for JSConciseBody and arrow expres…
quintenkasteel Aug 17, 2025
1e425e5
test: update arrow function tests for JSConciseBody implementation
quintenkasteel Aug 17, 2025
d3d1883
feat(parser): implement object spread syntax support
quintenkasteel Aug 17, 2025
eb46655
feat(printer,minify): add object spread support for output formatting
quintenkasteel Aug 17, 2025
a087313
test: add comprehensive object spread syntax test coverage
quintenkasteel Aug 17, 2025
2bb838d
feat(ast): add Generic and NFData derivations to AST types
quintenkasteel Aug 17, 2025
d43a0ca
feat(parser): add Generic and NFData to parser support types
quintenkasteel Aug 17, 2025
770adee
build(deps): add deepseq dependency for NFData support
quintenkasteel Aug 17, 2025
26b09b0
test: add comprehensive Generic and NFData test suite
quintenkasteel Aug 17, 2025
bb07aec
feat(parser): add support for export * from 'module' syntax
quintenkasteel Aug 17, 2025
85d921e
feat(output): add export * rendering and minification support
quintenkasteel Aug 17, 2025
5d75159
test: add export * tests to core test modules
quintenkasteel Aug 17, 2025
3adb2f2
test: add comprehensive export * test suite
quintenkasteel Aug 17, 2025
98655f0
feat: add exponentiation operator support to AST and token definitions
quintenkasteel Aug 17, 2025
77afb0b
feat: implement exponentiation operator lexing and parsing
quintenkasteel Aug 17, 2025
48cf7ef
feat: add exponentiation operator rendering and minification support
quintenkasteel Aug 17, 2025
f55a8c9
test: add comprehensive tests for exponentiation operator
quintenkasteel Aug 17, 2025
b385235
build: update cabal file and add ASI edge case tests
quintenkasteel Aug 17, 2025
ee6d549
feat: implement ES2017 trailing comma support in function calls and p…
quintenkasteel Aug 18, 2025
3ab3368
test: add comprehensive trailing comma tests for ES2017 compliance
quintenkasteel Aug 18, 2025
adaa08e
feat(parser): add comprehensive JavaScript AST validator
quintenkasteel Aug 18, 2025
51c08a4
test(validator): add comprehensive test suite for AST validator
quintenkasteel Aug 18, 2025
75d59a6
build(cabal): add validator module and test dependencies
quintenkasteel Aug 18, 2025
359dc80
test(integration): integrate validator tests into test suite
quintenkasteel Aug 18, 2025
99468c2
feat(parser): enhance core parser with new JavaScript features
quintenkasteel Aug 19, 2025
c00b72c
feat(validator): enhance AST validation with comprehensive checks
quintenkasteel Aug 19, 2025
949ede2
feat(output): update pretty printer and processing for new features
quintenkasteel Aug 19, 2025
4e5494a
test(parser): expand expression and literal parser test coverage
quintenkasteel Aug 19, 2025
c94d0ab
test(modules): add comprehensive module and statement parser tests
quintenkasteel Aug 19, 2025
a2ffe87
test(validator): add extensive AST validator test suite
quintenkasteel Aug 19, 2025
0d024fa
docs: add TODO.md with development roadmap
quintenkasteel Aug 19, 2025
f0ad60d
feat(validator): enhance AST validation with comprehensive error dete…
quintenkasteel Aug 19, 2025
0851aaf
test(validator): add comprehensive test suite for Tasks 14-22
quintenkasteel Aug 19, 2025
2374ad4
docs: remove old TODO.txt file
quintenkasteel Aug 19, 2025
8a0cd21
docs: add archived todo directory
quintenkasteel Aug 19, 2025
a0f0800
feat(test): add comprehensive advanced lexer features testing
quintenkasteel Aug 19, 2025
1b395c9
feat: implement comprehensive coverage improvement tasks 1.1-3.1
quintenkasteel Aug 20, 2025
6353c9c
feat(test): implement Task 3.4 - advanced error recovery testing
quintenkasteel Aug 20, 2025
ba50ed6
feat: implement Phase 3 advanced testing infrastructure (Tasks 3.1-3.4)
quintenkasteel Aug 20, 2025
a0b81f0
feat(test): implement Task 4.2 - Memory usage constraint testing
quintenkasteel Aug 20, 2025
84325d6
feat: complete Phase 4 industry leadership tasks (Tasks 4.1-4.6)
quintenkasteel Aug 20, 2025
afc7ac9
docs: complete comprehensive validation and final implementation fixes
quintenkasteel Aug 20, 2025
f8dcd7c
fix(test): relax performance test timing constraints
quintenkasteel Aug 20, 2025
d0dfb34
fix(test): convert pending library compatibility tests to passing tests
quintenkasteel Aug 20, 2025
53d4708
fix(test): convert pending framework pattern tests to working tests
quintenkasteel Aug 20, 2025
b9da049
fix(test): convert pending advanced lexer tests to working tests
quintenkasteel Aug 20, 2025
ae4d390
config: update Claude agent configurations and commands
quintenkasteel Aug 20, 2025
666dd34
feat(validator): enhance AST validation with comprehensive error dete…
quintenkasteel Aug 20, 2025
aacee93
feat(test): implement comprehensive error handling and coverage testing
quintenkasteel Aug 20, 2025
3130743
feat(test): enhance fuzzing and memory testing infrastructure
quintenkasteel Aug 20, 2025
3fede1b
feat(test): add strict mode validation and string literal complexity …
quintenkasteel Aug 20, 2025
15b32eb
feat(tools): implement intelligent coverage generation system
quintenkasteel Aug 20, 2025
1cab7c6
feat(fixtures): add test fixtures for comprehensive testing scenarios
quintenkasteel Aug 20, 2025
b286269
debug: add compatibility testing debug script
quintenkasteel Aug 20, 2025
8e33c23
fix(test): replace mock functions with real implementations
quintenkasteel Aug 20, 2025
c2bfd25
fix(test): replace imprecise tests with exact matches
quintenkasteel Aug 20, 2025
5284735
feat(test): add comprehensive ES6+ round-trip tests and fix compilati…
quintenkasteel Aug 20, 2025
ee4b7da
fix(test): resolve all test failures - now 1082 examples, 0 failures
quintenkasteel Aug 20, 2025
ad1b95e
Improves Javascript parser and generator
QuintenKasteel-FH Aug 20, 2025
f55309b
fix(test): correct QuickCheck identifier generator validation
quintenkasteel Aug 20, 2025
3904c04
fix(test): relax GC performance consistency constraints
quintenkasteel Aug 20, 2025
921f746
fix(test): update negative tests for modern JavaScript standards
quintenkasteel Aug 20, 2025
2a4067c
enhance(parser): add comprehensive parse error types
quintenkasteel Aug 20, 2025
3a31175
improve(lexer): add conservative validation for numeric literals
quintenkasteel Aug 20, 2025
36a218d
refactor(validator): clean up validation approach
quintenkasteel Aug 20, 2025
d88c463
maintain(parser): preserve grammar structure for parser validation
quintenkasteel Aug 20, 2025
c2b2923
refactor(test): remove duplicate legacy test files
quintenkasteel Aug 20, 2025
f94399e
feat(test): add new hierarchical test organization
quintenkasteel Aug 20, 2025
249c85b
feat(test): add comprehensive fuzzing and property testing framework
quintenkasteel Aug 20, 2025
0f40ac3
feat(build): update test configuration for new hierarchy
quintenkasteel Aug 20, 2025
a1fed13
feat(json): export additional JSON serialization functions
quintenkasteel Aug 21, 2025
a932d68
feat(test): add comprehensive JSON serialization test suite
quintenkasteel Aug 21, 2025
dfde33a
build: add JSON test dependencies and module registration
quintenkasteel Aug 21, 2025
7021ca7
feat(test): integrate JSON serialization tests into main test suite
quintenkasteel Aug 21, 2025
264b972
Cleanup md files
quintenkasteel Aug 21, 2025
d0c2cb4
feat(serialization): add XML and S-Expression output formats
quintenkasteel Aug 22, 2025
bed9ebb
feat(parser): integrate XML and S-Expression serialization exports
quintenkasteel Aug 22, 2025
a271875
build: integrate XML and S-Expression modules into build system
quintenkasteel Aug 22, 2025
13fc2ab
fix(validator): improve position extraction for context-sensitive val…
quintenkasteel Aug 22, 2025
9195fb6
docs: streamline TODO list based on validation results
quintenkasteel Aug 22, 2025
d528535
fix(unicode): resolve Unicode character encoding issues
quintenkasteel Aug 22, 2025
89bf384
fix(parser): resolve Unicode character encoding issues
quintenkasteel Aug 23, 2025
7321163
test(lexer): improve numeric and string literal test patterns
quintenkasteel Aug 23, 2025
9c53acb
test(parser): enhance expression, literal and module test validation
quintenkasteel Aug 23, 2025
17ca5b3
test(parser): complete program and statement test validation
quintenkasteel Aug 23, 2025
9f42e01
docs: update test failure tracking
quintenkasteel Aug 23, 2025
d1065a7
feat(lexer): implement ES2021 numeric separators and enhanced string …
quintenkasteel Aug 23, 2025
c43c4ed
build(lexer): regenerate lexer from updated specification
quintenkasteel Aug 23, 2025
6937e1d
test(numeric): update test expectations for ES2021 compliance
quintenkasteel Aug 23, 2025
ed18761
test(parser): update numeric separator test expectations
quintenkasteel Aug 23, 2025
1a1b151
chore: update test status and cleanup
quintenkasteel Aug 23, 2025
4d4a2ac
Merge branch 'feature/fix-test' into release/0.8.0.0
QuintenKasteel-FH Aug 23, 2025
c9e1b8b
Convert Bytestring -> String
QuintenKasteel-FH Aug 29, 2025
12473b5
chore: bump version to 0.8.0.0
quintenkasteel Aug 29, 2025
3e7bb1c
chore: update build configuration and linting setup
quintenkasteel Aug 29, 2025
a57b944
refactor: modernize core parser modules with CLAUDE.md standards
quintenkasteel Aug 29, 2025
2fd746a
refactor: modernize pretty printing and minification modules
quintenkasteel Aug 29, 2025
c09a3f4
refactor: modernize Happy grammar with CLAUDE.md standards
quintenkasteel Aug 29, 2025
f03a0a8
refactor: reorganize test fixtures and modernize test suite
quintenkasteel Aug 29, 2025
dfae6e5
refactor: modernize unit tests with CLAUDE.md standards
quintenkasteel Aug 29, 2025
2917d95
refactor: modernize integration, golden, property and benchmark tests
quintenkasteel Aug 29, 2025
6146316
chore: remove outdated files and directories
quintenkasteel Aug 29, 2025
0fe920e
docs: add comprehensive changelog for v0.8.0.0
quintenkasteel Aug 29, 2025
6ed73ed
docs: expand changelog with comprehensive feature list
quintenkasteel Aug 29, 2025
8734daa
ci: add comprehensive GitHub Actions CI/CD pipeline
quintenkasteel Aug 29, 2025
3421e7c
Remove executable
QuintenKasteel-FH Sep 7, 2025
fac21af
feat: implement comprehensive tree shaking functionality
quintenkasteel Sep 13, 2025
f340f77
test: add comprehensive tree shaking test suite
quintenkasteel Sep 13, 2025
622062b
feat: enhance parser infrastructure for tree shaking
quintenkasteel Sep 13, 2025
498f58f
test: improve test infrastructure and quality
quintenkasteel Sep 13, 2025
d5a6933
docs: add tree shaking documentation and analysis
quintenkasteel Sep 13, 2025
3b9da4c
ci: update GitHub Actions workflows for tree shaking
quintenkasteel Sep 13, 2025
9df069c
WIP
quintenkasteel Sep 20, 2025
36fab7a
feat(parser): implement export default support and fix cabal paths fo…
quintenkasteel Sep 26, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix(test): correct QuickCheck identifier generator validation
The test was using arbitrary String instance instead of the specific
genValidIdentifier generator, causing failures on invalid identifiers
like spaces. Now uses the proper generator for accurate validation.
  • Loading branch information
quintenkasteel committed Aug 20, 2025
commit f55309bec0b3bd5bdc302f4f6fba9db404efa0ee
5 changes: 3 additions & 2 deletions test/Test/Language/Javascript/GeneratorsTest.hs
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,9 @@ testGenerators = describe "QuickCheck Generators" $ do
it "generates valid JSAST instances" $ property $
\ast -> isValidJSAST (ast :: JSAST)

it "generates valid identifier strings" $ property $ \(ident :: String) ->
not (null ident) ==> all (`elem` (['a'..'z'] ++ ['A'..'Z'] ++ ['0'..'9'] ++ "_$")) ident
it "generates valid identifier strings" $ property $ do
ident <- genValidIdentifier
return $ not (null ident) && all (`elem` (['a'..'z'] ++ ['A'..'Z'] ++ ['0'..'9'] ++ "_$")) ident

describe "Complex structure generators" $ do
it "generates JSObjectProperty instances" $ property $
Expand Down