Skip to content

esneider/ccode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ccode

TODO:

  • flex lexer
    • v0.1 (5/5/2012)
    • v0.2 (6/5/2012): tested
    • v0.3 (12/5/2012): uses the tree nodes
  • bison parser
    • v0.1 (5/5/2012): bison %union, no rules yet
    • v0.2 (6/5/2012): grammar rules, no AST yet
  • syntax tree
    • v0.1 (12/5/2012): tree nodes, no actual tree yet
  • type analisys
  • program encoding
  • error handling

TIME:

  • 10hs (5/5/2012): learning flex, bison and coding
  • 6hs (6/5/2012): learning bison and coding; found the typedef-name identifier problem
  • 5hs (7/5/2012): researching; found cilk2c and ANTLR + cgram
  • 3hs (8/5/2012): started to define the AST nodes
  • 3hs (10/5/2012): defined declaration AST nodes
  • 2hs (11/5/2012): finished defining AST nodes
  • 3hs (12/5/2012): refactored the lexer to use tree nodes; implemented some tree node utils
  • 3hs (13/5/2012): more tree node utils; started to build the syntax tree
  • 5hs (14/5/2012): expressions' syntax tree; parse test
  • 2hs (16/5/2012): started declarations' syntax tree

About

C parser

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published