From 799f16a60c00bfa4b1dc20d33e92059117370b83 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Tue, 4 Nov 2014 12:07:18 -0600 Subject: BAS: Combine all text files (READEME, LICENSE, and NEWS) into a single README.txt file --- apps/interpreters/bas/LICENSE | 19 ------------ apps/interpreters/bas/NEWS | 15 --------- apps/interpreters/bas/README | 35 --------------------- apps/interpreters/bas/README.txt | 66 ++++++++++++++++++++++++++++++++++++++++ 4 files changed, 66 insertions(+), 69 deletions(-) delete mode 100644 apps/interpreters/bas/LICENSE delete mode 100644 apps/interpreters/bas/NEWS delete mode 100644 apps/interpreters/bas/README create mode 100644 apps/interpreters/bas/README.txt (limited to 'apps/interpreters') diff --git a/apps/interpreters/bas/LICENSE b/apps/interpreters/bas/LICENSE deleted file mode 100644 index 80d651bdb..000000000 --- a/apps/interpreters/bas/LICENSE +++ /dev/null @@ -1,19 +0,0 @@ -Copyright (c) 1999-2014 Michael Haardt - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/apps/interpreters/bas/NEWS b/apps/interpreters/bas/NEWS deleted file mode 100644 index 21029a52c..000000000 --- a/apps/interpreters/bas/NEWS +++ /dev/null @@ -1,15 +0,0 @@ -Changes compared to version 2.3 - -o Matrix inversion on integer arrays with option base 1 fixed -o PRINT USING behaviour for ! fixed -o PRINT , separator should advance to the next zone, even if the current - position is at the start of a zone -o Added ip(), frac(), fp(), log10(), log2(), min() and max() -o Fixed NEXT checking the variable case sensitive -o Use terminfo capability cr to make use of its padding -o LET segmentation fault fixed -o PRINT now uses print items -o -r for restricted operation -o MAT INPUT does not drop excess arguments, but uses them for the - next row -o License changed to MIT diff --git a/apps/interpreters/bas/README b/apps/interpreters/bas/README deleted file mode 100644 index 0231dc938..000000000 --- a/apps/interpreters/bas/README +++ /dev/null @@ -1,35 +0,0 @@ -Bas is an interpreter for the classic dialect of the programming language -BASIC. It is pretty compatible to typical BASIC interpreters of the 1980s, -unlike some other UNIX BASIC interpreters, that implement a different -syntax, breaking compatibility to existing programs. Bas offers many ANSI -BASIC statements for structured programming, such as procedures, local -variables and various loop types. Further there are matrix operations, -automatic LIST indentation and many statements and functions found in -specific classic dialects. Line numbers are not required. - -The interpreter tokenises the source and resolves references to variables -and jump targets before running the program. This compilation pass -increases efficiency and catches syntax errors, type errors and references -to variables that are never initialised. Bas is written in ANSI C for -UNIX systems. - -Please do "make check" after compiling bas to run a couple regression -tests. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/apps/interpreters/bas/README.txt b/apps/interpreters/bas/README.txt new file mode 100644 index 000000000..d9d9425f9 --- /dev/null +++ b/apps/interpreters/bas/README.txt @@ -0,0 +1,66 @@ +README +====== + +Introductions +============= + Bas is an interpreter for the classic dialect of the programming language + BASIC. It is pretty compatible to typical BASIC interpreters of the 1980s, + unlike some other UNIX BASIC interpreters, that implement a different + syntax, breaking compatibility to existing programs. Bas offers many ANSI + BASIC statements for structured programming, such as procedures, local + variables and various loop types. Further there are matrix operations, + automatic LIST indentation and many statements and functions found in + specific classic dialects. Line numbers are not required. + + The interpreter tokenises the source and resolves references to variables + and jump targets before running the program. This compilation pass + increases efficiency and catches syntax errors, type errors and references + to variables that are never initialised. Bas is written in ANSI C for + UNIX systems. + + Please do "make check" after compiling bas to run a couple regression + tests. + +License +======= + BAS 2.4 is released as part of NuttX under the standard 3-clause BSD license + use by all components of NuttX. This is not incompatible with the original + BAS 2.4 licensing + + Copyright (c) 1999-2014 Michael Haardt + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + +Bas 2.4 Release Notes +===================== + Changes compared to version 2.3 + + o Matrix inversion on integer arrays with option base 1 fixed + o PRINT USING behaviour for ! fixed + o PRINT , separator should advance to the next zone, even if the current + position is at the start of a zone + o Added ip(), frac(), fp(), log10(), log2(), min() and max() + o Fixed NEXT checking the variable case sensitive + o Use terminfo capability cr to make use of its padding + o LET segmentation fault fixed + o PRINT now uses print items + o -r for restricted operation + o MAT INPUT does not drop excess arguments, but uses them for the + next row + o License changed to MIT -- cgit v1.2.3