toebes / interdata-basic Goto Github PK
View Code? Open in Web Editor NEWInterdata 7/16 Basic Interpreter
License: BSD 3-Clause "New" or "Revised" License
Interdata 7/16 Basic Interpreter
License: BSD 3-Clause "New" or "Revised" License
Convert all lowercase keywords to uppercase, add appropriate spacing for readability.
1END should be treated as 1 END and not 1E ND
RANDOM is supposed to reuse the set of random numbers.
Format characters are +-@,.$^
@
represents a digit
.
Represents the decimal point
+
Represents a fixed plus sign
-
Represents a fixed minus sign
++
or --
Floating sign
$
Fixed dollar sign
$$
Floating dollar sign
,
Separator comma
^
Exponent indicator
Implement Matrix commands:
MAT READ A,B, ...
Read DATA values for previously dimensioned arrays.MAT INPUT A,B ...
Input values for previously dimensioned arrays.MAT PRINT A,B, ...
Print current values of previously dimensioned arrays. (The semi-colon print delimiter can also be used. )MAT A=B
Matrix A is dimensioned to the dimensions of matrix B and the values of B are stored into A.MAT A=B+C
Add or subtract matrices Band C. The dimensions of Band C must be identical. Dimension A to the dimensions of B and C and store the result into A.MAT A=B-C
MAT A=B*C
Matrix multiply B and C. Dimension A to the dimensions of the resulting matrix and store the values into A. The dimensions of BMAT A=(expression)*B
Scalar multiply matrix B by the parenthesized expression. Dimension A to the dimensions of B and store the values into AMAT A=INV(B)
Invert matrix B. Dimension A to the dimensions of Band store the values of the inverse matrix into A. B must be a square matrix.MAT A=TRN(B)
Transpose matrix B. Dimension A to the dimensions of the resulting matrix and store the values into A. A and B must be twoMAT A=(expression)
Store a constant value in all elements of A.MAT A=IDN
Store the identity matrix in A.MAT A=DET
Store the determinant of matrix A into element A (0, 0) of array A.A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.