Frontmatec.Interpreters.Pascal 1.0.7

dotnet add package Frontmatec.Interpreters.Pascal --version 1.0.7
                    
NuGet\Install-Package Frontmatec.Interpreters.Pascal -Version 1.0.7
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Frontmatec.Interpreters.Pascal" Version="1.0.7" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Frontmatec.Interpreters.Pascal" Version="1.0.7" />
                    
Directory.Packages.props
<PackageReference Include="Frontmatec.Interpreters.Pascal" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Frontmatec.Interpreters.Pascal --version 1.0.7
                    
#r "nuget: Frontmatec.Interpreters.Pascal, 1.0.7"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=Frontmatec.Interpreters.Pascal&version=1.0.7
                    
Install Frontmatec.Interpreters.Pascal as a Cake Addin
#tool nuget:?package=Frontmatec.Interpreters.Pascal&version=1.0.7
                    
Install Frontmatec.Interpreters.Pascal as a Cake Tool

Frontmatec.Interpreters

Pascal

Antlr

The pascal.g4 file is a modified version, based on this repository file on GitHub.

Modifications include:

  • programHeading modified.
  • block modified.
  • constantDefinitionPart modified.
  • typeDefinitionPart removed.
  • typeDefinition removed.
  • variableDeclarationPart modified.
  • statement modified.
  • EXOR added.
  • TYPE removed.
  • UNIT removed.
  • IDENT modified.

To generate the C# parser, along with a visitor class, run the make-antlr.bat script.

TODO

  • IDENT ?".,;@/\&%*[{}]'!#$�<>
  • Make antlr generated classes internal
  • Refactor PascalInterpreter.Run to RunAsync with cancellationToken
  • Declare function
  • Declare procedure
  • Stack overflow
  • Arrays
  • Return NIL instead of Boolean in context
  • multidimensional arrays
  • Add CancellationToken to context functions and procedures
  • Attach/detach debugger
  • Throw an exception when declaring a function or procedure if it already has been previously declared or exists in the context.
  • remove dynamic code
  • Type check in pacal parser
  • Implement Text and Window types
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.7 566 5/13/2025
1.0.6 448 4/14/2025
1.0.5 183 4/14/2025
1.0.4 184 4/10/2025
1.0.3 586 3/5/2025
1.0.2 104 12/10/2024
1.0.1 422 12/2/2024
1.0.0 177 11/14/2024
0.2.1 139 11/12/2024
0.2.0 108 11/12/2024
0.1.9 115 11/12/2024
0.1.8 123 11/11/2024
0.1.7 114 11/11/2024
0.1.6 114 11/7/2024
0.1.5 101 11/7/2024
0.1.4 102 11/6/2024
0.1.3 108 11/6/2024
0.1.2 97 11/5/2024
0.1.1 103 11/5/2024