Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

Releases: ArnabRollin/dwn

Added function creation support

10 Dec 09:56
Compare
Choose a tag to compare

Full Changelog: v0.12.0...v0.13.0

Added

  • Function creation support (no arguments).
  • Unknown names now raise errors.

Changed

  • (dev notes): Migrated to clap API.

Added slicing, `quit/exit` functions, fixed bugs

10 Dec 09:53
Compare
Choose a tag to compare

Full Changelog: v0.11.0...v0.12.0

Added

  • Slicing of arrays and strings (store in variable first).
  • quit and exit functions to immediately terminate the program with an optional code.

Changed

  • run_tokens now returns a Result to provide a base for the upcoming feature of error handling.

Fixed

  • Fixed bug where commas in in strings were evaluated as separators.
  • Errors in lexer now print on the correct line.

Added arrays

27 Oct 11:55
Compare
Choose a tag to compare

Full Changelog: v0.10.0...v0.11.0

Added

  • Arrays
  • Array pretty-print function (format_array)

Changed

  • Literals now return the value provided (if there is no function or operator involved) instead of None.

Removed

  • Unnecessary match in say and short_say functions.

Added byte code compiler + runner

26 Oct 12:39
Compare
Choose a tag to compare

Full Changelog: v0.9.0...v0.10.0

Added

  • Variable-options in CLI
  • Bytecode compiler and runner (level 1)
  • Better documentation in CLI.

Changed

  • Now there are two runner functions: run_tokens and run (which tokenizes the line and calls run_tokens with the tokens)
  • Integers are now i64 and floats are f64

Added more operators, functions, examples

24 Oct 05:15
Compare
Choose a tag to compare

Full Changelog: v0.8.0...v0.9.0

Added

  • !=, lazy= and lazy!= operators
  • vars function which prints all the variables
  • int and float converter functions
  • Guessing game example to README.md

Changed

  • Changed the example in README.md.

Fixed

  • Scope build-up bug has now been fixed

Added nested loops, `break` and scope return

21 Oct 05:10
Compare
Choose a tag to compare

Full Changelog: v0.7.0...v0.8.0

Added

  • Nested scopes
  • break statement
  • Scopes and if statements now return the value of the last statement.

Added more loops, operators

19 Oct 10:37
Compare
Choose a tag to compare

Full Changelog: v0.6.1...v0.7.0

Added

  • while and until loops
  • ==, > and < compare operators
  • +=, -=, *= and /= "operate and assign" operators
  • Functions now say their name on error.

Fixed variable arithmetic bug

15 Oct 07:33
Compare
Choose a tag to compare

Full Changelog: v0.6.0...v0.6.1

Fixed

  • Bug where variables can't be used with operators

Added boolean and `if` block

14 Oct 09:01
Compare
Choose a tag to compare

Full Changelog: v0.5.0...v0.6.0

Added

  • Boolean type (true and false)
  • if function

Fixed

  • Fixed bug where two arguments cannot be provided to scope-accepting function.

Updated change log

13 Oct 12:12
Compare
Choose a tag to compare

Full Changelog: v0.4.0...v0.5.0

Changed

  • The change log has been remodeled.