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

PGN Parser #3

Merged
merged 45 commits into from
Jan 19, 2023
Merged

PGN Parser #3

merged 45 commits into from
Jan 19, 2023

Commits on Dec 31, 2022

  1. create class and types

    nav-28 committed Dec 31, 2022
    Configuration menu
    Copy the full SHA
    b800b30 View commit details
    Browse the repository at this point in the history

Commits on Jan 1, 2023

  1. add makePgn function

    nav-28 committed Jan 1, 2023
    Configuration menu
    Copy the full SHA
    26fce71 View commit details
    Browse the repository at this point in the history
  2. add test and fix errors

    nav-28 committed Jan 1, 2023
    Configuration menu
    Copy the full SHA
    fcff4b1 View commit details
    Browse the repository at this point in the history
  3. fix errors

    nav-28 committed Jan 1, 2023
    Configuration menu
    Copy the full SHA
    54e8e4a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3a4a13a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9e487e2 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    93302f3 View commit details
    Browse the repository at this point in the history
  7. add parse header test and fix error

    There is still one test which fails. Will fix later
    nav-28 committed Jan 1, 2023
    Configuration menu
    Copy the full SHA
    6419a27 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    26f6b3b View commit details
    Browse the repository at this point in the history

Commits on Jan 2, 2023

  1. finished test parse pgn

    Still need a way to mock a function in dart.
    nav-28 committed Jan 2, 2023
    Configuration menu
    Copy the full SHA
    0b18e16 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c79bead View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ffc572e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c268150 View commit details
    Browse the repository at this point in the history
  5. add new variant model

    nav-28 committed Jan 2, 2023
    Configuration menu
    Copy the full SHA
    328ee6c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d07e97d View commit details
    Browse the repository at this point in the history

Commits on Jan 3, 2023

  1. follow linter rules

    nav-28 committed Jan 3, 2023
    Configuration menu
    Copy the full SHA
    d89dd6e View commit details
    Browse the repository at this point in the history
  2. Make mutable class private

    nav-28 committed Jan 3, 2023
    Configuration menu
    Copy the full SHA
    fab48c9 View commit details
    Browse the repository at this point in the history

Commits on Jan 4, 2023

  1. add comment functions

    nav-28 committed Jan 4, 2023
    Configuration menu
    Copy the full SHA
    1d4afe0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5006143 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d01b73e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b36640e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    09faed7 View commit details
    Browse the repository at this point in the history

Commits on Jan 5, 2023

  1. fix errors

    nav-28 committed Jan 5, 2023
    Configuration menu
    Copy the full SHA
    4bafbae View commit details
    Browse the repository at this point in the history
  2. remove cloneable class

    nav-28 committed Jan 5, 2023
    Configuration menu
    Copy the full SHA
    32bb976 View commit details
    Browse the repository at this point in the history
  3. fix tests

    nav-28 committed Jan 5, 2023
    Configuration menu
    Copy the full SHA
    bec11b7 View commit details
    Browse the repository at this point in the history

Commits on Jan 6, 2023

  1. fix error in header parser

    nav-28 committed Jan 6, 2023
    Configuration menu
    Copy the full SHA
    a2b42f6 View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2023

  1. Add null checks

    nav-28 committed Jan 9, 2023
    Configuration menu
    Copy the full SHA
    57731d5 View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2023

  1. add benchmarks

    nav-28 committed Jan 10, 2023
    Configuration menu
    Copy the full SHA
    cc58fd0 View commit details
    Browse the repository at this point in the history
  2. add copyWith to make class immutable

    Also removes streaming parser
    nav-28 committed Jan 10, 2023
    Configuration menu
    Copy the full SHA
    6c5c806 View commit details
    Browse the repository at this point in the history
  3. add immutable tag

    nav-28 committed Jan 10, 2023
    Configuration menu
    Copy the full SHA
    86e70ea View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    db593ea View commit details
    Browse the repository at this point in the history
  5. const constructor

    nav-28 committed Jan 10, 2023
    Configuration menu
    Copy the full SHA
    149081c View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2023

  1. make requested changes

    1. Renamed classes Node-> PgnNode, ChildNode->PgnChildNode, Game->PgnGame
    2. Renamed parsePgn to parseMultiGamePgn
    3. Added static methods makePgn and parsePgn to PgnGame
    4. Moved makeVariant to its enum and renamed it to Variant.fromPgn
    5. Move headers function to PgnGame
    6. Removed walk function
    7. Made some enums and classes private
    8. Moved Outcome function to its class
    nav-28 committed Jan 11, 2023
    Configuration menu
    Copy the full SHA
    648db32 View commit details
    Browse the repository at this point in the history
  2. Make requested changes 2

    1. Add makePgn benchmark
    2. Renmane Comment and Evaluation Classes
    3. Move function into classes
    4. update tests
    nav-28 committed Jan 11, 2023
    Configuration menu
    Copy the full SHA
    1cde634 View commit details
    Browse the repository at this point in the history
  3. moved position functions to Position class

    Also renamed functions and added comments
    nav-28 committed Jan 11, 2023
    Configuration menu
    Copy the full SHA
    404a675 View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2023

  1. make changes

    1. Seperate PgnNodeData copyWith into 2 sepearate functions
    2. Rename transformStack
    3. Change parse function type and make PgnParse private
    4. Use stringBuffer in makePgn instead of lists
    5. Fix hashCode and == operator for PgnEvaluation
    nav-28 committed Jan 13, 2023
    Configuration menu
    Copy the full SHA
    5dcb234 View commit details
    Browse the repository at this point in the history
  2. rename benchmark file

    nav-28 committed Jan 13, 2023
    Configuration menu
    Copy the full SHA
    1a7a4bf View commit details
    Browse the repository at this point in the history
  3. Change error in PgnParser

    nav-28 committed Jan 13, 2023
    Configuration menu
    Copy the full SHA
    1413f8f View commit details
    Browse the repository at this point in the history
  4. Update transform and add tests

    nav-28 committed Jan 13, 2023
    Configuration menu
    Copy the full SHA
    64d4591 View commit details
    Browse the repository at this point in the history
  5. Simplify functions

    nav-28 committed Jan 13, 2023
    Configuration menu
    Copy the full SHA
    85e13f5 View commit details
    Browse the repository at this point in the history
  6. Add tests for invalid Pgn

    nav-28 committed Jan 13, 2023
    Configuration menu
    Copy the full SHA
    6ae14a1 View commit details
    Browse the repository at this point in the history

Commits on Jan 14, 2023

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

Commits on Jan 18, 2023

  1. Configuration menu
    Copy the full SHA
    d0ed359 View commit details
    Browse the repository at this point in the history
  2. Change position functions

    nav-28 committed Jan 18, 2023
    Configuration menu
    Copy the full SHA
    d3fd81c View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2023

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