/vqdr/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/vqdr/trunk

« back to all changes in this revision

Viewing changes to README

  • Committer: Gustav Hartvigsson
  • Date: 2022-06-01 12:14:52 UTC
  • Revision ID: gustav.hartvigsson@gmail.com-20220601121452-ntu94w67q3dhhfeq
More work torwards inperementing the parser.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Vala/Very Quick Dice Roller
2
 
 
3
 
To see README about libvqdr, please see ./src/libvqdr/README.md
4
 
 
5
 
# Building
6
 
 
7
 
```
 
1
                       Vala/Very Quick Dice Roller
 
2
 
 
3
To see README about libvqdr, please see ./src/libvqdr/README
 
4
 
 
5
VQDR will consist of two parts, the backend library, and the front end.
 
6
 
 
7
The backend libray, libvqdr, provides the logic for parsing dice expression
 
8
strings, and doing the calculations needed to perform the dice rolls.
 
9
 
 
10
The frontend has yet to be written.
 
11
 
 
12
For up-to-date code, go to:
 
13
https://launchpad.net/vqdr
 
14
 
 
15
BUILDING
 
16
------------
8
17
$ mkdir build
9
18
$ cd build
10
19
$ meson ..
11
20
$ ninja
12
 
```
 
21
------------
 
22
 
 
23
DICE EXPRESSION SYNTAX
 
24
 
 
25
A dice expression is simple.
 
26
 
 
27
---- Basics ----
 
28
[n]d[m], [n]t[m] - [n] dices with [m] sides.
 
29
[e1] [op] [e2]   - Use operator [op] on expressions [e1] and [e2]
 
30
 
 
31
[func]([e...])   - Use function [func] on the expression(s) [e...]
 
32
----------------
 
33
 
 
34