https://github.com/rosskuehl/brainf-ck
https://github.com/rosskuehl/brainf-ck
brainfuck compiler fsharp
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/rosskuehl/brainf-ck
- Owner: rosskuehl
- Created: 2023-10-30T01:43:05.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-17T18:55:31.000Z (over 1 year ago)
- Last Synced: 2025-01-19T02:50:05.464Z (6 months ago)
- Topics: brainfuck, compiler, fsharp
- Language: F#
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# brainf#ck
Brainf#ck is a toy compiler that reads in [brainfuck](https://esolangs.org/wiki/Brainfuck) source files and uses [AssemblyBuilder](https://learn.microsoft.com/en-us/dotnet/api/system.reflection.emit.assemblybuilder?view=net-8.0) to generate dynamic assemblies and execute their code during the same application run.
### Example usage
```bash
dotnet run scripts/hello.bf
Hello World!dotnet run -- --size double scripts/cellsize.bf
16 bit cells
```