Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use smart-pointer and generate C++ code for bison/flex/bnfc #409

Closed

Commits on Jan 5, 2022

  1. Update C++STL test code to use unique_ptr

    * Modify include file and Parser header file name as psXXX
    * Add compile option to `src/BNFC/Backend/CPP/Makefile.hs`
    hangingman committed Jan 5, 2022
    Configuration menu
    Copy the full SHA
    687c2d9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b4cdcc2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9b2b181 View commit details
    Browse the repository at this point in the history
  4. Refactor CFtoCPPAbs.hs, CFtoBisonC, CFtoFlexC, Makefile.hs

    * refacotor prList, prListC
    hangingman committed Jan 5, 2022
    Configuration menu
    Copy the full SHA
    a8efd9a View commit details
    Browse the repository at this point in the history
  5. Bison, fix to use %skeleton as "lalr1.cc" it requires bison >= 3.2

    * Implement switching bison %union and variant
    * Implement C++ parser with driver setting
    * Implement C++ driver/scanner class
    hangingman committed Jan 5, 2022
    Configuration menu
    Copy the full SHA
    83ff004 View commit details
    Browse the repository at this point in the history
  6. Update Bison.H

    * Fix file extension
    * Fix token type
    * Fix flex buffer related code
    * Refactor makefile compile option
    * Implement reverse function in ListXXX class
    hangingman committed Jan 5, 2022
    Configuration menu
    Copy the full SHA
    6b00a3d View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    97f987f View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    f362a57 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    569ba8b View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    38cd508 View commit details
    Browse the repository at this point in the history
  11. Fix Scanner.hh interface

    hangingman committed Jan 5, 2022
    Configuration menu
    Copy the full SHA
    50abac3 View commit details
    Browse the repository at this point in the history
  12. Enable to compile testcc

    * add driver entry codes
    * modify SkelSTL.hs for header file extension
    * Enable debugging of lexer/parser
    hangingman committed Jan 5, 2022
    Configuration menu
    Copy the full SHA
    9af6a84 View commit details
    Browse the repository at this point in the history

Commits on Jan 8, 2022

  1. Configuration menu
    Copy the full SHA
    f63ea5b View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2022

  1. Fix bison precedence rule

    hangingman committed Jan 10, 2022
    Configuration menu
    Copy the full SHA
    31e5869 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    901f0b0 View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2022

  1. Configuration menu
    Copy the full SHA
    7d387bb View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2022

  1. Fix code

    hangingman committed Jan 18, 2022
    Configuration menu
    Copy the full SHA
    3794364 View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2022

  1. Configuration menu
    Copy the full SHA
    b560b44 View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2022

  1. Fix C++ ctor initlizer

    hangingman committed Jan 26, 2022
    Configuration menu
    Copy the full SHA
    7c63d35 View commit details
    Browse the repository at this point in the history

Commits on Jan 27, 2022

  1. add override statement

    hangingman committed Jan 27, 2022
    Configuration menu
    Copy the full SHA
    a262544 View commit details
    Browse the repository at this point in the history
  2. Reduce warnings

    hangingman committed Jan 27, 2022
    Configuration menu
    Copy the full SHA
    12555a0 View commit details
    Browse the repository at this point in the history

Commits on Jan 29, 2022

  1. Configuration menu
    Copy the full SHA
    fa95570 View commit details
    Browse the repository at this point in the history