GitXplorerGitXplorer
k

tkom

public
0 stars
0 forks
0 issues

Commits

List of commits on branch master.
Verified
6f8951e6d9981e28144525b10e7e4701f927bbfc

Remove instruction types, add *out for full tests to git

kkam193 committed 6 years ago
Verified
20685ec982bf17aed128ab5d89d4b109443d9248

Full tests

kkam193 committed 6 years ago
Verified
a23d4b463085bccf2afcaf6ca191c6ed9a4f23fb

Fix compile & support for negative numbers

kkam193 committed 6 years ago
Verified
c37ad40bb1a70bceb857f96e6cd7900b48bbe552

Catch invalid indent, refactor

kkam193 committed 6 years ago
Verified
83dbf376314b355b703e5dcaef7da48f931bf377

Fix mul on list

kkam193 committed 6 years ago
Verified
ae9a7b1b0328c83c387eba7b3e5fc1f4489b5146

Add Range built-in func and fixes

kkam193 committed 6 years ago

README

The README file for this repository.

[TKOM]

Interpreter for simple language based on Python.

Compile

Use make. If you want to build without running tests previously, use make build-notest.

Run tests

For unittest use make tests. This require boost >= 1.59. For full test use test.sh

Use

Interpreter read from stdin. Compiled version can be run by ./tkom.out.

For example, code like:

def function_name(arg1):
    x = arg1 / 3
    return x + arg1

function_name(23)

Output is:

./tkom.out < examples/example.py
30