Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Sep 10, 2025. It is now read-only.

Tags: skx/critical

Tags

release-0.7

Toggle release-0.7's commit message
Rework test to restore 100% test-coverage

release-0.6

Toggle release-0.6's commit message
Previously we invoked our parser, to parse the input, in our

`Evaluate` call.  This meant that evaluating the same script
multiple times wasn't possible:

* First run:
  * Evaluate parses the program, executes each command.
* Second run
  * Evaluate has a parser which has already consumed the input.
  * There is nothing to parse.
  * So nothing is executed.

This pull-request moves the parser-consumption to the constructor,
which necessitated changing the constructor's signature, so that
the parser will always consume all input ahead of the call to
`Evaluate`.

The end result is you can run:

* New(..)
* Evalute
  * Runs the program.
* Evaluate
  * Runs the program, again.
* ..

This closes #25.

release-0.5

Toggle release-0.5's commit message
Removed local module override

release-0.4

Toggle release-0.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Added an example of embedding the scripting language. (#24)

This closes #21, by showing how to embed the TCL interpretter inside
an application of the users:

* Loading scripts.
* Exporting functions from the host application to the TCL environment
* Checking return-values & etc.

release-0.3

Toggle release-0.3's commit message
Revert the tokenization of maths-primitives; it broke comments & etc

release-0.2

Toggle release-0.2's commit message
Fixed issue where "$a+$b" failed.

Since spaces were required.

release-0.1

Toggle release-0.1's commit message
Added -version flag