WheretIB / nullc

Fast C-like programming language with advanced features
MIT License
163 stars 13 forks source link

New register-based VM and other improvements #24

Closed WheretIB closed 4 years ago

WheretIB commented 4 years ago

In this pull request, the previous stack-based VM is completely replaced with a new register-based VM and with many additional changes and improvements:

Language changes:

Compiler changes:

ide changes:

Visual Studio/Code extension changes:

Removed:

codecov[bot] commented 4 years ago

Codecov Report

Merging #24 into master will decrease coverage by 2.13%. The diff coverage is 85.03%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #24      +/-   ##
==========================================
- Coverage   86.81%   84.67%   -2.14%     
==========================================
  Files         129      143      +14     
  Lines       31427    42553   +11126     
==========================================
+ Hits        27284    36033    +8749     
- Misses       4143     6520    +2377     
Impacted Files Coverage Δ
NULLC/CodeGenRegVm_X86.cpp 92.39% <ø> (ø)
NULLC/CodeGen_X86.cpp 88.25% <ø> (ø)
NULLC/Executor_X86.cpp 88.46% <ø> (ø)
NULLC/Executor_X86.h 0.00% <0.00%> (ø)
NULLC/ExpressionTree.cpp 95.30% <ø> (+0.07%) :arrow_up:
NULLC/InstructionTreeRegVmLower.cpp 91.95% <ø> (ø)
NULLC/InstructionTreeVm.cpp 93.87% <ø> (-2.37%) :arrow_down:
NULLC/Instruction_X86.cpp 65.51% <ø> (ø)
NULLC/Instruction_X86.h 97.14% <ø> (ø)
NULLC/Linker.cpp 78.50% <ø> (-12.71%) :arrow_down:
... and 175 more

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 fadff63...bb041bf. Read the comment docs.