titan-lang / titan

The Titan programming language
http://titan-lang.org
MIT License
406 stars 13 forks source link

Lua-like semantics for << >> % // #216

Closed hishamhm closed 6 years ago

hishamhm commented 6 years ago

Ported into master from the lablua branch (with commits attributed to @hugomg). I pulled in the change in util.render to minimize tweaking of @hugomg's code and wrote a test utility function so that the tests could be pulled in as-is.

codecov-io commented 6 years ago

Codecov Report

Merging #216 into master will decrease coverage by 0.35%. The diff coverage is 80.28%.

Impacted Files Coverage Δ
titan-compiler/util.lua 69.09% <80%> (+0.46%) :arrow_up:
titan-compiler/coder.lua 94.91% <80.3%> (-0.94%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 8195ce8...ec592eb. Read the comment docs.

mascarenhas commented 6 years ago

Fixed the wrong test label and comment typos myself. Merging!

mascarenhas commented 6 years ago

The pip server seems to be hiccuping, and pip install hererocks is failing, so Travis cannot check this right now, I will wait until everything passes just to make sure.

mascarenhas commented 6 years ago

The command pip install luarocks is failing with a 503 from the pip server, so all of our Travis builds are going to break until this is fixed, hopefully soon...