aboutsummaryrefslogtreecommitdiff
path: root/README
blob: 639879a6bb1e21ba67e184d9c8b9332b9dc7eab9 (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
46
47
48
49
50
51
KPL

---

Requirements:

Linux 6+
GCC 14+
make

---

Building:

make

---

Running:

./kpl [OPTIONS] ./path/to/file.kpl # Run File
./kpl [OPTIONS] # Start REPL
./kpl -h # See OPTIONS

---

Testing:

./kpl_test # Run all tests

./kpl_test NAME1... # Run test by test name

---

Cross Architecture Testing:

See TESTING

---

Valgrind

make kpl_valgrind # Build KPL with valgrind support for KPL's custom allocator
make kpl_test_valgrind # Build tests with valgrind support for KPL's custom allocator

---

Sanitizers

make kpl_test_memory # Build tests with memory,leak and undefined sanitizers
make kpl_test_thread # Build tests with thread sanitizer