Menu

GibPascal / Blog: Recent posts

GibPascal 1.3.4a released

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

o clrscr;
Clear screen and sets cursor to upper left.

Posted by Michael Ralph Gibson 2022-01-09

Development notes for GibPascal 1.3.2(Alpha)

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

Posted by Michael Ralph Gibson 2021-12-06

GibPascal 1.3.1

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.

Posted by Michael Ralph Gibson 2021-11-30

More on while .. do

'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

Posted by Michael Ralph Gibson 2021-11-17

additional progress GibPascal 1.3

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

Posted by Michael Ralph Gibson 2021-11-16

Progress on GibPascal 1.3

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

Posted by Michael Ralph Gibson 2021-11-12

Linux script fix

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.

Posted by Michael Ralph Gibson 2021-11-08

Change Log for GibPascal 1.2

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

Posted by Michael Ralph Gibson 2021-11-07
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.