Comparing version 1.2.3 to 1.2.4
@@ -5,2 +5,6 @@ # Release notes | ||
## 1.2.4 | ||
- The file 'symbol-table.ts' and 'symbol-table.spec.ts' has been created. | ||
- Changes in the lexer to support comment blocks spaces and line breaks to separate elements within arrays. Context variables created (previous_token and matrix_context). | ||
## 1.2.3 | ||
@@ -7,0 +11,0 @@ - The file 'configuration.ts' and 'configuration.spec.ts' has been created. Two user functions (configure and getconfig) was created to manage internal configurations of MathJSLab. Most of the settings refer to Decimal.js settings related to the accuracy of the results. |
@@ -163,3 +163,3 @@ /** | ||
*/ | ||
static response: { | ||
response: { | ||
EXTERNAL: number; | ||
@@ -166,0 +166,0 @@ WARNING: number; |
@@ -9,2 +9,3 @@ export { CharString } from './char-string'; | ||
export { Configuration } from './configuration'; | ||
export { SymbolTable } from './symbol-table'; | ||
export { Evaluator } from './evaluator'; |
{ | ||
"name": "mathjslab", | ||
"version": "1.2.3", | ||
"version": "1.2.4", | ||
"description": "MathJSLab - An interpreter with language syntax like MATLAB®/Octave. ISBN 978-65-00-82338-7", | ||
@@ -5,0 +5,0 @@ "main": "lib/mathjslab.js", |
@@ -12,3 +12,3 @@ # MathJSLab | ||
[MATLAB®](https://www.mathworks.com/)/[Octave](https://www.gnu.org/software/octave/) | ||
language written completely in [Typescript](https://www.typescriptlang.org/). | ||
language. It is written completely in [Typescript](https://www.typescriptlang.org/). | ||
@@ -150,3 +150,2 @@ It can run in browser environment and implements an arbitrary precision | ||
* The comma is mandatory inside arrays (MATLAB®/Octave supports space too). | ||
* Defining functions is done simply using: | ||
@@ -156,7 +155,6 @@ ``` | ||
``` | ||
* Parsing is executed line-by-line. | ||
* There are only one a complex numeric type. Other implemented types is | ||
boolean and character string. Character strings are treated differently than | ||
in MATLAB®/Octave. An entire string can be placed as an element of an | ||
array and operations with strings are not supported, nor are they converted | ||
array and operations with strings are not yet supported, nor are they converted | ||
to numbers. | ||
@@ -163,0 +161,0 @@ |
@@ -6,3 +6,5 @@ import { Configuration } from './configuration'; | ||
expect(Configuration).toBeDefined(); | ||
expect(Configuration.functions.configure).toBeDefined(); | ||
expect(Configuration.functions.getconfig).toBeDefined(); | ||
}); | ||
}); |
@@ -9,2 +9,3 @@ export { CharString } from './char-string'; | ||
export { Configuration } from './configuration'; | ||
export { SymbolTable } from './symbol-table'; | ||
export { Evaluator } from './evaluator'; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
584953
48
8636
182