Skip to content

0x4A4D00/BFI4Pascal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 

Repository files navigation

BFI4Pascal

BFI4P is a simple brain f*ck interpreter for Pascal,that can be used in both Objpas(FPC) and Delphi.

version
license

Usage

You can extract src folder to your project main folder or simply just install lpk package file in Lazarus and then use BFI unit.

program Caesar_Cipher;

uses
  BFI;

begin

  // Caesar cipher encoder by 3 right shifts 
  WriteLn(Interpret(',[+++.>,]', 'Hello'));
  
end.

Defines


Define Usage
Mode16 Using Sequence of 1-4 bytes for each Character Instead of Using 8 bits Characters(ASCII -> UTF8).
Optimization By Passing some Branches to Speedup the Interpreter around 10-25 Percents.(Different in 8/16 bits Modes)
Debug For Debugging.

Note

  • There is no need to Define Mode16 in GUI Applications.

License

  • This "Software" is Licensed Under MIT No Attribution License (MIT-0).

Releases

No releases published

Packages

No packages published

Languages