Skip to content

Releases: melvic-ybanez/dry

v0.6.0

18 Nov 06:01
Compare
Choose a tag to compare

Changes

f0670b5 Add exception handling to the examples in ReadMe
13e6800 Bump version
ec16ed2 Add try-catch examples
0be6c75 Test the scope of captured exception
a57153e Fix the assertion for errors
960319d Better support for generic catch blocks
bb3253d Add TODO comments to the functions marked for removal
469b57c Catch blocks with raised exception objects
ec0ffe4 Fix try-catch grammar doc
cd0bbfa Add name attribute to classes
7373b08 Support try-catch functionality

v0.5.0

11 Nov 06:47
Compare
Choose a tag to compare

Changes

5c24346 Support the rest of the exceptions
ec6e039 Support index-out-of-bounds exception
fc6bfbd Support can-not-apply-index-operator exception
44661ae Support undefined-key exception
151aa3f Support undefined-property exception
bcf90a1 Support raising a does-not-have-properties exception
4cf0c5e Support raising an incorrect-arity exception
41faa0a Support raising a not-callable exception
5e865db Support raising of invalid-operands exception
04f5faa Support raising invalid-operand exceptions
06651c7 Unify callWithPos and call
c05ec37 Merge branch 'main' into raise_exceptions
dbb03d5 [Fix] Line number for callables without tokens
ab8dfd9 Support raising of undefined-variable exception
24dc755 Add tests for the division-by-zero exception
5dcd75d Merge branch 'main' into raise_exceptions
84a2845 Add clarifications about Dry in the ReadMe
97b5f67 Merge branch 'main' into raise_exceptions
54e70b8 Fix grammar doc for key-value and index access
8c8e4b0 Raise division-by-zero exceptions

v0.4.1

04 Nov 13:45
Compare
Choose a tag to compare

Changes:

870884d Empty tuple is treated as a unit
ddd55f2 [Fix] Functional calls as dictionary keys
ceb5c70 Expressions as dictionary keys
1d81f4c Fix broken links in readme

v0.4.0

03 Nov 18:16
Compare
Choose a tag to compare

Changes:

4ddb64d Add demos for data structures
8c2c001 Move assertion functions into the standard library package
74a675e Add tests for the retrieval of dictionary fields
e72c5b5 Add methods for retrieving dictionary fields
1a8dd6f Add support for list element deletion
e988390 Updating list elements using index operator
75ec614 Bracket notation for list element access
da2cf21 Support list syntax

v0.3.0

02 Nov 19:03
Compare
Choose a tag to compare

Changes:

dd39d8b Read elements of a tuple
8ae91b9 Add tests for getting tuple size
2857bc5 Add support for creating tuples

v0.2.0

01 Nov 16:07
Compare
Choose a tag to compare

Changes

ef78949 Add support for deleting dictionaries
a47f773 Fix grammar doc
2322d7a Add support for adding and updating fields to/in a dictionary
c841dc6 Add support for dictionary index operator
16e3ce2 Use constants as dict keys
6843d29 Add get-by-key to grammar
b0fd238 Add tests for dictionary size retrieval
757ca3b Dictionary initialization
0c5955d WIP: Scaffolding dictionary implementation
d14e742 Add tests for fields
d2459f9 Add the following test scenarios for closures:

  • Nested closures
  • Referencing closures multiple times
  • Out of scope captured value
  • Shadowing of captured value with a local one

bd5f2d7 Add tests about the following:
b819604 Add closure tests
18b9787 Add more class test cases
0c826ff Add tests for non-callables
0f8d32a Add tests for the negation operator
1ee5898 Add built-in assert_false function

v0.1.4

26 Oct 16:08
Compare
Choose a tag to compare

Changes:

ae71091 Fix boolean != operator
4aeb680 Add test case to check that lhs isn't undefined
4596d2e Add test case for assigning values to 'self'
39612a2 Update readme with new screenshot
9a3f6b9 Add test case for assignment rhs target
17da6d9 Add test case for parsing prefix operator in LHS
3f69891 Add test case for local scopes

v0.1.3

25 Oct 15:47
Compare
Choose a tag to compare

Changes:

9d45f13 Add test cases for the parser
06b4013 Fix call arguments parsing errors

v0.1.2

25 Oct 11:17
Compare
Choose a tag to compare

Changes:

7022e92 Fix return statement's semicolon and param-list's closing paren requirements
344e420 Refactor lexer for shift operator
09ed039 Reorganize tokens
4ce6f63 Fix positive sign for numbers
c59dbc1 Fix alpha grammar doc
a9ebf87 Add partial application example in the ReadMe
258270d Update version to snapshot

v0.1.1

11 Oct 18:21
Compare
Choose a tag to compare

Changes:

81c1f95 Fix error foreground in REPL
6fbf7d2 Prioritize errors that occur at the later stages
2339322 Add foreground colors to Repl texts
c0aadec Fix grammar documentation
a338370 Add introduction section in the ReadMe
073abbe Update version to snapshot