Skip to content

Instantly share code, notes, and snippets.

@paniq
Created August 28, 2017 18:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save paniq/7a8defc59b7b68d8d68f863d58fb5364 to your computer and use it in GitHub Desktop.
Save paniq/7a8defc59b7b68d8d68f863d58fb5364 to your computer and use it in GitHub Desktop.
Coverage of Implementations in Scopes Compiler
Coverage of Implementations in Scopes Compiler
0.52% 83 error handling
0.65% 104 pre-defined type enum
1.24% 198 stream with color formatted output
1.25% 199 IL label printer
1.47% 234 main (loader)
1.56% 249 utilities
1.62% 258 platform ABI linux + windows
1.80% 287 symbolic expression printer
1.88% 300 various comments, defines, includes, forward declarations
2.39% 381 IL label folding / mangling
3.82% 609 parser & lexer
4.53% 722 pre-defined symbol enum
5.28% 843 clang bridge (compiler & type conversion)
5.43% 866 IL objects: named arguments, parameter, body, label, closure, frame
5.47% 873 pre-defined type init, global built-in functions and constants
5.51% 879 macro expander
7.64% 1219 type objects: type, integer, real, pointer, array, vector, tuple,
union, extern, return, function, typename, image, sampled image
8.06% 1286 objects: none, string, timer, source file, anchor, builtin, scope,
variant, list, syntax
9.29% 1481 SPIR-V code generator
9.89% 1576 LLVM IR code generator
20.2% 3223 partial evaluator
--------------------------------------------------------------------------------
15950 lines total
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment