Release of the PascalABC.NET 3.8.3 development environment

The release of the PascalABC.NET 3.8.3 programming system is available, offering an edition of the Pascal programming language with code generation support for the .NET platform, the ability to use .NET libraries and additional features such as generic classes, interfaces, operator overloading, λ-expressions, exceptions, garbage collection, extension methods, unnamed classes, and autoclasses. The project is mainly focused on education and research applications. The package also includes a development environment with code hints, auto-formatting, a debugger, form designer, and code samples for beginners. The project code is distributed under the LGPLv3 license. It is possible to build on Linux (based on Mono) and Windows.

Changes in the new release:

  • The "for" loop now accepts a step if the downto modifier is not used. A zero step throws a ZeroStepException. begin for var i:=1 to 6 step 2 do Print(i); println; for var c:='f' to 'a' step -2 do Print(c); end.
  • It is allowed to use an index in a foreach loop: begin foreach var x in Arr(1,2,3) index i do Println(i,x); end.
  • The standard ErrOutput stream for error output is implemented in the TypeName library function: begin var o: (integer,integer)->() := (x,y)->Print(1); PrintIn(TypeName(o)); var o1 := new List [2,3]; Println(TypeName(o1)); end.
  • Fixed an error when redirecting input, which did not allow solving interactive Olympiad problems.

Source: opennet.ru

Add a comment