Releases: itwithlyam/Evaluate
v2.0.1 (Functions)
With this update, functions and control logic is added.
- Function block modifier
- Some branching statements: (break, be, bz, bne, bnz)
- Increment/Decrement
What's Changed
- Allow int to be 0 by @itwithlyam in #55
- Control and ASCII by @itwithlyam in #59
- Remove IDs from Standard by @itwithlyam in #60
- Escape characters by @itwithlyam in #61
- Upstream to PTB by @itwithlyam in #62
- Versioning by @itwithlyam in #63
- Relocate extension by @itwithlyam in #64
- Functions by @itwithlyam in #65
- (not) Lexical scope by @itwithlyam in #66
- Upstream to PTB v2.0.1 by @itwithlyam in #67
- Version 2.0.1 Upstream Production by @itwithlyam in #69
Full Changelog: v2.0.0...v2.0.1
New Syntax Manual: #70
Visual Studio Code Extension: https://marketplace.visualstudio.com/items?itemName=ITwithLyam.evaluate
v2.0.0 (compiler + expansion)
It's been a long wait, but I'm proud to announce Version 2.0.0 of Evaluate. v2 brings us:
- Standard Library
- Comments
- NASM Compiler
- Blocks
- Block modifiers
- Required type annotations
- NULL-terminated strings
- Some new CLI arguments
- A lovely --help menu
- VSC Language Support
- An Icon for Evaluate
- Better errors
- A new and improved Verbose mode
Also, just a quick note - this is not a Long Term Support release! However, it will be supported until 04/08/22 as it bumps the MAJOR version..
Changelog
- #34 Version 1.1.2-dev.1
- #35 Standard Library + Comments (snap 2)
- #36 Bump snapshot version
- #37 Bump minimist from 1.2.5 to 1.2.6
- #38 Up to date
- #39 MERGE EVAL-4 - Starting a compiler
- #40 Some random debugs
- #41 EVAL-9 Standard Library compilation
- #42 EVAL-12 Memory functions + Cross compatibility
- #43 PTB Upstream (2.0.0-dev 1)
- #44 EVAL-27 Compiled Strings
- #45 EVAL-16 String,Data,String Concatenation
- #47 EVAL-20
- #48 Downstream from main
- #49 Loop instruction
- #50 Rename interpreter to compiler
- #51 Upstream to PTB #2
- #54 Fix bugs/add more error handlers/VSC Support
- #55 Allow int to be 0
- #56 More bug fixes
Diff: v1.1.1...v2.0.0
Syntax Manual: #53
Visual Studio Code extension: https://marketplace.visualstudio.com/items?itemName=ITwithLyam.evaluate
v1.1.2 snapshot 2
What's Changed
This Snapshot adds the Standard Library and Comments to Evaluate.
Also adds a devmode warning + force argument.
COMPATIBALITY WARNING: This snapshot removes Equation Syntax { }
. Before switching to this snapshot, any instances of Legacy Equation Syntax will result in a fatal error.
As always, .app binaries must be created from source. Please find Windows, Unix and .sh binaries below.
Additions
standard#equate(calculation: string)
: Calculates a given question. Replaces legacy equation syntax { }
.
standard#output(...args: string[])
: Outputs to STDOUT.
standard#simplify(expression: string)
: Simplifies a given expression.
# this is a comment
: Comment syntax. This is ignored by the lexer.
--force -f
: Forces devmode
Deletions
{ }
: Equation syntax. See standard#equate().
Pull Requests
- Standard Library + Comments (snap 2) by @itwithlyam in #35
- Bump snapshot version by @itwithlyam in #36
Full Changelog: v1.1.2-dev.1...v1.1.2-dev.2
v1.1.2 snapshot 1
What's Changed
- Equations on the stack by @itwithlyam (#34)
As always, binaries are attached. For a .app file, build from source.
Full Changelog: v1.1.1...v1.1.2-dev.1
v1.1.1 (cleanup)
What's Changed
- Bump simple-get from 3.1.0 to 3.1.1 by @dependabot in #23
- Up to date by @itwithlyam in #24
- SQRT and Power operators by @itwithlyam in #26
- Left/Right Shift by @itwithlyam in #28
- More science by @itwithlyam in #30
- Cleaning up by @itwithlyam in #32
- Update version by @itwithlyam in #33
The docs will be updated shortly
Full Changelog: v1.1.0...v1.1.1
v1.1.0 (ease of access)
TL;DR:
- Added a traceback to errors so you know exactly where they occurred
- Makefile for building from source
- Migrated storage from json
- Added a proper command line interface, with actual flags
What's Changed
- Stack and better error handling by @itwithlyam in #11
- Functions are functions, even bad ones by @itwithlyam in #12
- Boolean "types" by @itwithlyam in #13
- Limited booleans by @itwithlyam in #14
- Better newline support by @itwithlyam in #15
- Upgraded newline support by @itwithlyam in #16
- Finding an ESM binary generator by @itwithlyam in #17
- Bump node-fetch from 2.6.6 to 2.6.7 by @dependabot in #18
- CLI Enhancement by @itwithlyam in #19
- Adding Makefile by @itwithlyam in #20
- Modulo by @itwithlyam in #21
- Modulo operator by @itwithlyam in #22
New Contributors
- @dependabot made their first contribution in #18
Full Changelog: v1.0.0...v1.1.0
v1.0.0 BIDMAS
This is a backwards-breaking update. Old programs WILL NOT RUN on Evaluate v1.0.0. Update your syntax to avoid accidental errors.
This update brings BIDMAS (Order of Operations), Reverse Polish Notation (Postfix format), Console and Blocks.
Docs available at https://itwithlyam.gitbook.io/evaluate/.
New syntax
- { equation syntax }
- newline syntax;
Installation
- Download the binary for your architecture
- Windows: Move binary to a new folder, add folder to environment variables
- MacOS/Linux: Add binary to PATH
- Restart terminal
What's Changed
- Fix whitespace by @itwithlyam in #6
- New syntax by @itwithlyam in #7
- Reverse Polish Notation and BIDMAS by @itwithlyam in #8
- Misc. Debugging by @itwithlyam in #9
- Log to console by @itwithlyam in #10
Notice: Our unit tests are currently failing for an unknown reason. More than ever, we need people helping with focus tests.
Full Changelog: v0.1.0-alpha...v1.0.0
v0.3.2-beta (whitespace patch)
BETA RELEASE, JOIN DISCORD TO CONTRIBUTE TO FOCUS TESTS
What's Changed
- Fix whitespace by @itwithlyam in #6
- New syntax by @itwithlyam in #7
Fixed the whitespace bugs in the previous release with some regular expressions. Also prepared some new syntax for a future update. In addition, planning to rewrite the interpreter for expressions and better interpreter stuff. Enjoy the binaries!
Full Changelog: v0.3.1-alpha...v0.3.2-alpha
v0.3.1-alpha (blocks update)
What's Changed
- Newlines and Blocks by @itwithlyam in #4
- Add unit testing, Add errors, Update README by @itwithlyam in #5
Quick notice, Evaluate.js is currently EXTREMELY SENSITIVE to whitespace. This will be patched in a future update, but for now please make sure to keep it to a minimum. Also, the new semicolon syntax can be placed anywhere in a program between expressions. This will register a newline no matter where it is, so be wary and keep it at the end of lines in order to not get weird errors.
We also updated the README in this update, so please take a look at it and see the new errors.
Blocks also don't really have any AST meaning, but errors will get thrown when they are misused.
Full Changelog: v0.3.0-alpha...v0.3.1-alpha
Current v1.0.0 list: https://trello.com/b/o2qkMCQZ/evaluatejs
v0.3.0-alpha (Electric vehicle update)
Electric Vehicle Update!
Too Long; Didn't Read:
You really can't have a more clickbait-y title. This update is actually about our new *.ev files.
Too Short; Didn't Read:
The REPL was removed due to it's inefficiency. This shouldn't be a backwards-compatibility issue because... well... why would anyone want to use a REPL? Now you can use *.ev files (node index.js <file>.ev
e.g.). Oh yeah, and binaries might come in the next update. Maybe. We'll see.
What's Changed
- Merge to Publish by @itwithlyam in #2
- Removing REPL, some errors, files by @itwithlyam in #3
New Contributors
- I'm lonely
Full Changelog: v0.2.0-alpha...v0.3.0-alpha
Happy new year!