With GibPascal 1.3.4a
This release includes some CRT Pascal functions. These functions mirror Turbo Pascal 7 and then expands on them.
o textcolor(value);
value is an integer between 0 and 31 or the descriptive color
examples:
Value Constant Result 0 black black text 1 blue blue text 2 green green text 5 magenta magenta text 13 lightmagenta light magenta text 17 underlined red text 30 highlighted cyan text
The development notes for GibPascal 1.3.2(Alpha)
Here is what has been completed:
o corrected windows compile version
o rewrote the block processing to be more flexible.
for program, var, const, label, begin, and end.
o Now MS Windows detection is on the list of supported Operating Systems
As of new version has not been introduced for Windows
o allow space between ',' and var (or no spaces) in write / writeln... read more
I have wrapped up the 1.3.1 code. This is a mostly fix release with a few added features.
The development notes for GibPascal 1.3.1(Alpha)
Here is what has been completed:
o add new file writing logic and code
+append
+fileclose
o corrected some debug errors
o fixed exec and system function commands with a code rewrite.
'while .. do' loops have been added to the GibPascal 1.3 release.
Usage format is as following:
[while [variable]|[count]|[<|>] [value] do begin ... end]
Here is an example of the 'while .. do' using a variable:
loop1 := 5;
while loop1 < 10 do
begin
loop1 := loop1 + 1;
loop2 := loop2 + 2;
writeln('loop1 = ',loop1,' loop2 = ',loop2);
end;
This example would run the three internal loop statements 5 times.... read more
Still writing code for the next release. Since the last post:
o corrected issues with delete function.
o corrected issues with right side variables with until statement.
o More variable fixes have been applied.
o 'while' ... 'do' ... 'begin' ... 'end;' coding has started. basic constructs have been done.
Basic for loops are working.
Nesting of for loops and var manipulation still has much work.... read more
The development notes for GibPascal 1.3 (currently Alpha)
Here is what has been completed:
o Added -lm flag to all compile scripts
o Made most functions not case sensitive.
Example: 'WriteLn', 'WRITELN', and 'writeln' are all treated the same.
Variables and reserved words continue to be case sensitive.
o Altered/expanded Math_set further.
o Now halt is POSIX in that 'halt;', 'halt(0);', and 'halt(1);' are all now valid
Any other value other than none, 0, or 1 will be ignored and return 1;.... read more
Just an FYI. GibPascal1.2 will not currently compile on Linux without adding the -lm flag to the compile shell scripts. This will be fixed in the next release.
06 Nov 2021
GibPascal 1.2
Feature and Bug Fix release
Release Name: “Sanitizer”
Update Testing scripts as needed
Include Cygwin source for binary windows release
New functionality and bug fixes added:
o added true (* remarks to ignore entire line
o added true // remarks to ignore entire line
o wsqrt() function added
o square, cube, etc. ability in math with ‘^’
NewValue := 4 ^ 2;
Returns 16
NewValue := 4 ^ 3;
Returns 64 ... read more