on master help sign in
update readme to include persistence invocation
106da6dAgentM
README.markdown+8−5
@@ -8,14 +8,17 @@ Project:M36 implements a relational algebra engine as inspired by the writings o
81. Install [Haskell Platform](https://www.haskell.org/platform/)
81. Install [Haskell Platform](https://www.haskell.org/platform/)
91. ```git clone https://github.com/agentm/project-m36```
91. ```git clone https://github.com/agentm/project-m36```
102. ```cd project-m36```
102. ```cd project-m36```
11+3. ```cabal sandbox init```
11−3. ```cabal configure --enable-tests```
12+4. ```cabal configure --enable-tests```
12−4. ```cabal install --enable-tests```
13+5. ```cabal install --enable-tests```
13−5. ```./dist/build/tutd/tutd``` to run the Tutorial D interpreter
14+6. ```cabal run tutd``` to run the Tutorial D interpreter
14−6. ```cabal test``` to run test suite
15+7. ```cabal test``` to run test suite
15
16
16## Usage
17## Usage
17
18
18−Currently, the best-supported frontend is the Tutorial D interpreter. Run `cabal run tutd` in newer versions of cabal or `./dist/build/tutd/tutd` in older versions of cabal to start the command line interpreter. You will be greeted with:
19+Currently, the best-supported frontend is the Tutorial D interpreter. Run `cabal run tutd` to start the command line interpreter linked to an in-memory database. Alternatively, to create a database backed by the filesystem (to be able to save committed transactions in the filesystem), use `cabal run tutd -- -d <db directory>`.
20+
21+You will be greeted with:
19
22
20`TutorialD (master):`
23`TutorialD (master):`
21
24