Skip to content

Releases: codecrafters-io/interpreter-tester

v52

17 Jun 20:30
6d45c50
Compare
Choose a tag to compare

Changelog

6d45c50 Merge pull request #89 from codecrafters-io/CC-1779-4
c40b026 ci: add regenerated fixtures
c928606 refactor: replace rand.Intn with random.RandomInt for generating random integers
c3757f6 ci: add regenerated fixtures
3956891 chore: update Go module dependencies and version to Go 1.24
abe0683 Merge pull request #88 from codecrafters-io/CC-1779
1cdb3a0 chore: update GitHub Actions workflow to use the main branch for setup action
92065cb chore: simplify GitHub Actions workflow by consolidating setup steps into a single action
14042b6 chore: enhance GitHub Actions workflow by adding descriptive step names for clarity
2841758 chore: update GitHub Actions setup workflow to use latest versions of dependencies and tools
8f73ea8 fix: update GitHub Actions workflow to use the latest fixtures from tester-utils
da17f5a chore: remove unnecessary debug output from GitHub Actions setup workflow
d0043b0 fix: add missing directory paths for chapters 11 and 12 in GitHub Actions setup workflow
6835f38 fix: adjust CodePath references in stages_test.go to ensure correct relative paths for all test cases
b99b45f fix: update CodePath references in stages_test.go to use relative paths for consistency
09de04e fix: update directory paths in GitHub Actions setup workflow for Scanner and jlox compilation
d6686f7 fix: correct directory path in GitHub Actions setup workflow for craftinginterpreters
0d09530 chore: remove duplicate Dart setup step in GitHub Actions workflow for interpreter-tester
842c9cc chore: streamline debug output in GitHub Actions setup workflow for Dart dependencies
fdca71b chore: add debug output to GitHub Actions setup workflow for Dart dependencies
1df6d1d fix: update GitHub Actions setup workflow to change directory before cloning jlox implementation
9e84227 fix: update CodePath references in stages_test.go to use relative paths
9512e9b chore: add debug step to GitHub Actions setup workflow for interpreter-tester
b5d39c0 chore: remove unnecessary cleanup step from GitHub Actions setup workflow for interpreter-tester
b48a4a4 chore: add new GitHub Actions setup workflow for interpreter-tester prerequisites and update fixtures-with-setup to reference the new action
61f571f chore: update GitHub Actions workflow to replace fixtures.yml with direct action reference and add necessary tokens
de759ee chore: comment out sections in GitHub Actions workflow for fixture regeneration
6c36c4b chore: modify GitHub Actions workflow to trigger fixture regeneration on pull request label and update permissions
350362f chore: update GitHub Actions workflow to reference the interpreter-tester repository for fixture regeneration
2f0c454 chore: update GitHub Actions workflow to use specific commit of fixtures-with-setup for fixture regeneration
dcb7361 chore: update GitHub Actions workflow to use specific commit of interpreter-tester and tester-utils for fixture regeneration
e005136 chore: create new GitHub Actions workflow for setting up environment and regenerating fixtures
cf81771 chore: update GitHub Actions workflow to use a specific commit of tester-utils for fixture regeneration
372dc0b chore: update GitHub Actions workflow to use the master branch of tester-utils for fixture regeneration
085a08e chore: update GitHub Actions workflow to use specific version of tester-utils for fixture regeneration
5f6808b feat: add GitHub Actions workflow for setting up interpreter-tester environment and compiling jlox
c0ec093 chore: update GitHub Actions workflow to use latest versions of checkout, Go, and Python
b7f4d7d feat: add workflow for fixture regeneration on pull request label

v51

14 May 01:01
213ba58
Compare
Choose a tag to compare
v51

Changelog

213ba58 Merge pull request #87 from codecrafters-io/andy/tweak
027014b fix: update test cases in stage 12 to include additional operators and correct string formatting

v50

12 May 07:30
61c14fd
Compare
Choose a tag to compare
v50

Changelog

61c14fd Refactor greet function to remove global variable (#86)
2f6f8a6 Merge pull request #82 from codecrafters-io/ryan-gang-patch-1
f795d64 test: update fixtures
d9dda42 refactor: rename PreserveWhitespaceWhileLogging to HighlightWhitespaceWhileLogging in TokenizeTestCase
081dbed test: update fixtures
877c0c6 feat: add PreserveWhitespaceWhileLogging option to TokenizeTestCase
6b39ac1 feat: enhance logging by adding whitespace preservation option in TokenizeTestCase
7f488e9 test: update fixtures
26f4368 refactor: remove trailing white space in test program
522681d Update utils.go
ae34ed4 fix: update regex replacer to keep Newline
a18bd54 Merge pull request #83 from codecrafters-io/add-colored-comments-2
f8b5aa4 Merge pull request #69 from codecrafters-io/devex-1
f8c4045 test: add color formatting to comments in test fixtures for improved visibility
17e1764 fix: remove unnecessary prefix from logged file contents for cleaner output
3c75561 feat: enhance logging of file contents with color formatting for better readability
4402891 test: enhance .lox file validation tests for formatting rules
6b5ede8 fix: update lox test program
2d5cff3 test: update fixtures
c906c46 chore: improve file formatting by breaking long lines for better readability in resolving
21c0721 test: update fixtures by shortening lines
cd71121 chore: improve file formatting by breaking long lines for better readability in functions
3c861f7 test: update fixtures with shortening lines
115c006 chore: improve file formatting by breaking long lines for better readability
54fc2b4 test: update fixtures with shortening lines
4ee1cd0 chore: improve comment formatting by breaking long lines for better readability
a6f8928 chore: improve comment formatting by breaking long lines for better readability
0414aee test: update fixtures with removed trailing spaces
3817671 fix: remove trailing whitespaces in multiple .lox files
c904edf test: update fixtures with removed trailing spaces
2d34a14 fix: remove trailing newlines at the end of multiple .lox files
9aba875 refactor: simplify getFileName function by removing unnecessary parameter
91f2a88 test: update fixtures
5b8ffa1 Merge branch 'main' into devex-1
e369741 refactor: improve test file handling and error reporting in .lox tests
5868c32 chore: remove lint workflow from GitHub Actions
80c713c test: add unit test for trailing spaces and tabs in .lox files
f65609d chore: remove line length and empty trailing lines checks from Makefile
5cfedf0 test: add unit test for line length validation in .lox files
c1f086a test: add unit test for checking empty trailing lines in .lox files
96be96f ci: update GitHub Actions checkout to v3
0eb96b4 ci: swap order of line length and trailing lines checks in lint workflow
0186688 chore: rename GitHub Actions workflow from 'Test' to 'Lint'
a22776b test: add GitHub Actions workflow for line length and trailing lines checks
91c0c6b test: add GitHub Actions step for empty trailing lines check
8b94742 test: add check for empty trailing lines in files
14c64b7 test: simplify comments in stage 10 test programs
8716ea1 test: simplify comments in stage 8 test programs
558e8d9 test: simplify comments in stage 7 test programs
a646b1d test: simplify comments in stage 2 test programs
3172466 test: simplify comments in stage 1 test programs
1992036 test: improve comments in stage 9 test programs
d980dcc test: improve random placeholder handling in line length check
5a1379c test: expand line length check with random placeholder replacements
b677502 test: enhance line length check to handle random placeholders
4eded01 ci: add line length check to GitHub Actions workflow
ae6c1fd test: add Makefile targets for test flakiness and line length checks

v49

09 Apr 16:20
3b3eaf0
Compare
Choose a tag to compare
v49

Changelog

3b3eaf0 Merge pull request #81 from codecrafters-io/andy/patch
ff0eb96 fix: correct comments in test fixtures to clarify top-level return statement restrictions

v48

05 Apr 09:00
e9cf05e
Compare
Choose a tag to compare
v48

Changelog

e9cf05e Merge pull request #80 from codecrafters-io/F-8207
dd637fd fix: update test fixtures to remove misleading comments and clarify expected output

v47

31 Mar 07:50
65c6586
Compare
Choose a tag to compare
v47

Changelog

65c6586 Merge pull request #79 from codecrafters-io/empty-file-log
424b367 test: update fixtures
a98075c fix: enhance logging for empty file contents in test utilities

v46

28 Mar 09:09
3c54145
Compare
Choose a tag to compare
v46

Changelog

3c54145 Merge pull request #73 from codecrafters-io/inheritance-test-programs
3690a1f Merge pull request #78 from codecrafters-io/F-7704
6860d1b test: update fixtures
bca4411 fix: update variable assignment syntax in test fixture
f39e5f6 Merge pull request #76 from codecrafters-io/andy/patch
d4fcfca Merge pull request #77 from codecrafters-io/ryan/test
274f24d fix: update variable references in pass_statements_final fixture to match expected output
e32699b fix: correct variable references in test fixtures and update expected output
68571a5 fix: refine error message for extra stdout line in StdoutAssertion
429d7aa fix: improve error message for extra stdout line in StdoutAssertion
1c1992b chore: update course definition
42b982d refactor: update inheritance test cases to include method overriding and error handling scenarios
fe8e533 refactor: update test case slugs for inheritance tests in Makefile and related files
a3a3e61 refactor: clean up Makefile by removing redundant flakiness testing and line length checks
deaa4de test: add fixtures
1b96214 refactor: improve code readability by formatting the return statement in the Derived class's cook method
73a74fa fix: standardize formatting by removing trailing spaces in test programs
cd3af5d feat: add comments to all test programs in inheritance
c3ba2eb feat: finalize all test programs
ccff382 feat: enhance Makefile with flakiness testing and line length checks; update test case slugs in tester_definition.go
671337b feat: add new test cases for class inheritance, method overriding, and error handling in Lox
d2ba90c Merge pull request #74 from codecrafters-io/inheritance-golox
de71565 fix: update handling of inherited properties
6cd59d7 feat: add multiple new stages (i1 to i5) for inheritance testing and introduce a new fixture for comprehensive test coverage
2ee674e feat: add new test case for inheritance stage in stages_test.go
c22276e feat: implement subclass support and enhance 'super' keyword handling in class resolution
3ca8a68 feat: extend class declaration syntax to support optional superclass and implement 'super' keyword for method calls
5d79d6f feat: enhance class inheritance by implementing 'super' keyword for method resolution
319d3b7 feat: add Super node for superclass access in class inheritance
2df3a89 feat: implement class inheritance and method resolution in UserClass
1a01166 feat: add new inheritance test cases for error handling and method overriding scenarios
8fb275a feat: enhance class inheritance test cases by adding subclasses and correcting expected error types
7444781 fix: remove trailing lines in lox files
27d6b3c refactor: modify Base and Derived class constructors and methods for improved functionality and clarity
378ee85 chore: remove obsolete inheritance test case from i3
fe68af5 refactor: update NOTES.md to clarify super keyword usage and error handling sections
2dcf6f8 chore: update inheritance test case titles for clarity and add detailed notes on class inheritance stages
e076cc2 feat: add new class inheritance test cases and update existing ones for method resolution
25ab21e wip: added updated tests for i3
f4b9284 feat: update class structure and test cases for Lox, introducing new classes and methods
c9156a6 feat: refine class inheritance test cases and introduce runtime error scenarios
fb2c854 feat: add inheritance test cases and update Makefile to include them
19d5ae7 feat: add new test cases for class inheritance and method overriding in Lox

v45

11 Mar 16:20
59e675a
Compare
Choose a tag to compare
v45

Changelog

59e675a Merge pull request #72 from codecrafters-io/fixtures
384c9bb feat: add update fixtures with new log formatting
7af21ab Merge pull request #71 from codecrafters-io/makefile-updates
bf703b3 test: remove test flakiness target from Makefile
068c35d test: update test case slugs for class implementation stages
0421254 Merge pull request #66 from codecrafters-io/class-golox
b2011bb test: update fixtures
8ecd260 test: update constructor test cases with minor formatting
94363c1 test: add test cases for constructor return restrictions
bd96da9 test: add test cases for constructors and 'this' keyword usage
72482fa test: add test cases for 'this' keyword behavior in class methods
b2f9c11 test: update class property and method test cases
bdd76a9 Merge pull request #67 from codecrafters-io/shorten-logs
b70d21b test: update fixtures
c9886a2 Merge branch 'main' into shorten-logs
524c28d Merge pull request #68 from codecrafters-io/andy/patch
e078337 test: refine stage 13 number tokenization test cases
8b539dc test: update stage 13 test cases for number tokenization
29e96e5 test: update fixtures
ddb3c7a refactor: improve file contents logging in test utilities
2e206aa chore: update dependencies and Go version

v44

11 Mar 08:59
Compare
Choose a tag to compare
v44

Changelog

ceaa100 refactor: update stage slugs for classes implementation
744d665 refactor: remove this from earlier stages
c4e0305 test: update class instantiation test case comments
2daedbc test: add class declaration test case comments
05dc9dc test: add test fixtures
7b3f9c2 chore: remove unused directory for bound methods
7d05682 refactor: remove redundant class test cases
f1b569e refactor: update constructor error test cases
97a5dbc refactor: update constructor test cases
08db965 refactor: update this error test cases
0578fb0 refactor: update this keyword test cases
0d8a410 refactor: update method reference and parameter test cases for classes
03fd599 refactor: update method invocation and parameter test cases for classes
8db07bf test: update class property manipulation test cases
84af56a refactor: simplify class instantiation test cases
4ddcb94 feat: update class scope and declaration test cases
34a99a6 fix: update class stage titles and add classes test to test_all target
43a247b fix: update stage 804 title to focus on instance methods
5fe7199 fix: update line length in test files
5391ff2 refactor: setup tests for classes extension
1ba049c feat: add tests for class stage 9
3154764 feat: add tests for class stage 8
13ed9d8 feat: add tests for class stage 7
ace30de feat: add tests for class stage 4
6ff85db feat: add tests for class stage 6
35666de feat: add tests for class stage 5
d9ac5d5 feat: add tests for class stage 4
9b194a6 feat: add tests for class stage 3
483b258 feat: add tests for class stage 2
dcef889 feat: add tests for class stage 1
616f425 test: add test program for class scoping and redeclaration
c9e6601 feat: add test programs for classes extension
641340a Merge branch 'main' into class-golox
3f18d07 chore: update tester definition for resolving extension
befea40 test: update spacing in lox files
5c04015 test: update test programs for classes
e729cf5 test: add test programs for classes in lox
5c63026 test: add test cases for resolving stages
24d746a test: setup testing for class stages
e07160a test: add test programs for classes
80321e5 refactor: replace any with interface{} in class implementation
d00bfe7 refactor: improve variable naming in class definition evaluation
68fdd58 refactor: update type annotations and improve method readability in class implementation
db91221 docs: clarify 'this' keyword documentation
3372059 refactor: improve class and instance string representation
b3b46db refactor: improve 'this' keyword resolution in interpreter
e37afe1 refactor: rename currentClass to currentClassType in resolver
7be9737 test: reduce test cases for resolver stages
a65bd6c feat: implement resolver support for class and method resolution
0f9132b feat: implement class evaluation in interpreter
bf5e553 feat: enhance parser to support class method parsing and 'this' keyword
23ac7ee feat: add method binding and initializer support for user functions
c1eea42 feat: implement UserClass and UserClassInstance types
4834aa9 feat: add AST nodes for class language feature
71aa6af test: add test program for class

v43

04 Mar 20:19
b4d4240
Compare
Choose a tag to compare
v43

Changelog

b4d4240 Merge pull request #62 from codecrafters-io/resolving-binding
dac1459 Merge pull request #64 from codecrafters-io/resolving-extension
69bd56f ci: setup submission for resolving chapter
7f3ae41 test: update fixtures
97c1e5b chore: update stage slug from 'de3' to 'de8' in test configuration
9d44175 refactor: update resolving stage slugs across test configuration
aabcc19 feat: add resolving and binding extension with new stages
81397ba test: update fixtures
4a10716 test: enhance r4 test cases for return statement scoping
cf75e49 test: enhance r3 test cases for variable redeclaration and scoping
a9cb7f5 test: enhance r2 test cases with clearer comments and variable initialization scenarios
c278f1f test: enhance comments and clarify lexical scoping test cases in r1
13d9a4c refactor: update course definition stage slugs
1c30e09 refactor: update resolving test stages and configuration
961cfd5 refactor: remove unused stage directories and update ordering
fa02fb7 feat: add comments on test programs
5b17a94 test: update test fixtures for resolving and lexical scoping stages
7cf4534 test: consolidate test cases for lexical scoping in r1 directory
2ba2db5 refactor: simplify resolving test stages and update Makefile configuration
2b48ceb test: update test cases for lexical scoping and closure behavior
1f0d5c7 fix: update formatting for lox files
dd5576c test: add test cases for undefined variable and undefined return handling
7b196cb test: add test cases for top-level return restrictions
7b0bab7 test: add test cases for lexical scoping edge cases
082a837 test: add test cases for lexical scoping and closure behavior
9c168c8 test: add test cases for variable scoping and closure behavior
ad60e77 feat: remove all block usage from r1
21cfe73 test: add fixtures
cc14876 test: add test cases for jlox resolving stages
7c46584 test: update Makefile to include functions and resolving test targets
f3b998c fix: improve semantic error handling in resolver
40e9f35 fix: reset semantic error flag in ClearErrorFlags
338631f fix: fix intermittent issues with resolver and mutual recursion
7dd049f feat: enhance function resolution with function type tracking
5de2a0e feat: add debug print statements and update Interpret method signature
73c8e7a feat: update UserFunction and Run API to support local variable resolution
18be598 fix: adjust semantic error handling condition in Run API
f8598d5 feat: add semantic error handling utilities
6143df3 feat: pass Locals to UserFunction for name resolution
ebfe5d5 feat: implement name resolution for Lox AST
23e4312 feat: update interpreter to support local variable resolution
bd3c566 feat: add global environment management methods
0cf91a4 feat: add environment lookup and assignment methods for resolving variables
6420c22 test: update error expectations for variable resolution tests
d59a3c5 test: update error expectation for variable resolution test
15bb25f feat: add placeholder stages for resolving chapter
d000ec3 feat: add test programs for variable resolution and scoping rules
cbf2538 feat: setup testing for resolving chapter
2dd827e feat: add frontmatter to test programs
d088559 feat: add empty test files