1. 15 Nov, 2014 4 commits
  2. 12 Nov, 2014 1 commit
  3. 21 Jun, 2014 1 commit
  4. 20 Jun, 2014 1 commit
  5. 09 Apr, 2014 2 commits
  6. 07 Apr, 2014 1 commit
    • Ben Lynn's avatar
      Added NEX_END_OF_LEXER_STRUCT comment. · cdd72d76
      Ben Lynn authored
      Scripts can search for this magic string and insert new fields.
      
      Added NewLexerWithInit() for initializing the new fields when creating a Lexer.
      
      Handle the case when only package and import statements are given in the input.
      cdd72d76
  7. 06 Jan, 2014 2 commits
  8. 19 Nov, 2013 1 commit
  9. 22 Oct, 2013 1 commit
  10. 19 Sep, 2013 1 commit
  11. 18 Sep, 2013 3 commits
  12. 17 Sep, 2013 1 commit
  13. 16 Sep, 2013 1 commit
    • Ben Lynn's avatar
      Run scanner in its own goroutine. · 5b1baeb3
      Ben Lynn authored
      To support return statements in actions, we still must maintain a call stack.
      However, the generated code is simpler than before, and more closely resembles
      the source.
      5b1baeb3
  14. 10 Sep, 2013 1 commit
    • Ben Lynn's avatar
      Begin transition to lexer goroutine. · e92a9edd
      Ben Lynn authored
      This breaks nex programs that have nested regexes containing return statements
      in their actions.
      
      I simplified the generated code. Instead of maintaining a stack of states for
      each level of nesting, we use Go functions instead, and let the language take
      care of it.
      
      However, return statements in the actions will destroy this state. My original
      solution was to maintain my own stack that was preserved between calls to the
      lexer. I now intend to solve this problem by running the lexer in its own
      goroutine.
      e92a9edd
  15. 08 Sep, 2013 1 commit
  16. 07 Sep, 2013 3 commits
  17. 06 Sep, 2013 2 commits
  18. 05 Sep, 2013 2 commits
  19. 22 Apr, 2013 1 commit
  20. 12 Sep, 2012 1 commit
  21. 08 Aug, 2012 1 commit
  22. 11 Jun, 2012 1 commit
  23. 23 Nov, 2011 2 commits
  24. 20 May, 2011 1 commit
  25. 17 May, 2011 1 commit
  26. 24 Apr, 2011 1 commit
  27. 20 Jan, 2011 2 commits