aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 7a7b6b34ec6ceb57fac2897960a05f80c61de66a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# PyQuest  
---
> Repository for the course *Software Construction*, part of the master *Software Engineering* at the *University of Amsterdam*
---

This repository contains code implementing a Questionnaire Language (QL) in Python.

## Dependencies
### Python
Python version 3

#### Packages
- multimethods
- PLY
- PyQt5
- termcolor
## Setup
```
sudo pip3 install multimethods
sudo pip3 install ply
sudo pip3 install pyqt5
sudo pip3 install termcolor
```


## Running
```
python3 pyquest.py
```

### Optional arguments
```
-t, --test	Perform tests.
```

### GUI Shortcuts

| Shortcut | Action |
| ------ | ------ |
| `Ctrl+N`| Create a new .ql file |
| `Ctrl+O`| Open a .ql file |
| `Ctrl+S`| Save current .ql file |
| `Ctrl+Shift+S`| Save as current .ql file |   
| `Ctrl+R` | Run current .ql file |