dungwinux / fpconsole

Tool for running Pascal Codes directly from console.
https://dungwinux.github.io/fpconsole/
MIT License
1 stars 1 forks source link
console pascal testing-tools

FPConsole FPConsole

Download FPConsole Download FPConsole

Debug tool for Pascal Developer

This debug tool helps you directly write input and get output in Free Pascal Compiler without writing a new file.

Note: FPConsole requires Free Pascal Compiler installed on the system. Download here

Instructions:

These instructions are available in latest version ( v1.5.1 ). For old version, checkout wiki page for proper parameter.

Simple Execute

fpconsole [command]

PS C:\> .\fpconsole "write('Hello World');"

Powershell Example

$ ./fpconsole "write('Hello World');"

Linux Example

Advanced Execute

fpconsole [Code] [Parameter]

fpconsole -f [File Include Code] [Parameter]

fpconsole -fe [Parameter]

fpconsole -fs [Source Code File] [Parameter]

Example

PS C:\> .\fpconsole "write('Hello World')" "-e" "Hello"
# This will execute with parameter "-e" and "Hello"

PS C:\> .\fpconsole -f "Code.dat"
# This will read main program from "Code.dat"

PS C:\> .\fpconsole -fe
# This will open notepad/nano to edit

PS C:\> .\fpconsole -fs "Code.pas"
# This will copy "Code.pas" then compile

(Optional Files)

Project's Website

Changelog

Version 1.5.1

Version 1.5

Old File Name New File Name
unit.dat _unit.dat
var.dat _var.dat
const.dat _const.dat
type.dat _type.dat

Version 1.3

Version 1.2.2 Build 170326

Version 1.1 Build 170228

Version 1.0.1 Build 170227

Version 1.0 Build 170226

License

MIT License (c) Nguyễn Tuấn Dũng (@winux8yt3)