Website Summary Files Commits Branches @commit @diff @stats
path: root / homework / 81281 / brainfsckInterpreter / README.md
blob: 29d4b63d1621a402c47458128770bd8b0ab17738 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Homework 3.2

## Create a brainf*** interpreter

_The interpreter reads from a file if there is input._

### How to install and use SWI-Prolog

+ [How to install SWI-Prolog](https://wwu-pi.github.io/tutorials/lectures/lsp/010_install_swi_prolog.html)

+ [Quick start on how to use it](http://www.swi-prolog.org/pldoc/man?section=quickstart)

+ [Command line options](http://www.swi-prolog.org/pldoc/man?section=cmdline)

### Added bash script for executing program after successful installation of SWI-Prolog on a Unix or Unix-like variants

[Script](./runMeChooseMode.sh)

_Mode 0 is for interactive interpretation and 1 is for interpretation of a file._

**The interpreter is a bit slow if the program has a lot of loops with the current method of handling loops. Also Prolog isn't the fastest PL of them all xD.**