blob: a9b47c7785035140acfde7680891defc6c059f04 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# Homework 2
Extended typescript syntax highlighter.
+ code highlighting
+ collapsible block structures
### Prerequisites
1. [g++ compiler](http://man7.org/linux/man-pages/man1/g++.1.html)
2. [make](https://www.gnu.org/software/make/)
3. [flex](https://www.gnu.org/software/flex/)
4. [bison](https://www.gnu.org/software/bison/)
### Usage
```
make all
./parser.sh [ts file] > highlighted.html
```
|