aboutsummaryrefslogtreecommitdiff
path: root/src/Testing.kt
blob: 0b16145601ea877a3b52d0e99aa6e4a2c2baa9e0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
class Testing {
    init {
        val source = Loader("/home/melvin/coding/run/example.run").load()
        val tokens = Lexical().analyze(source)
        for (token in tokens) {
            print(token.first)
            print("\n")
            print(token.second)
            print("\n")
        }
        print(source)
    }
}