Skip to content

Fix the parser for use with v18 of autogtp (#40)#41

Open
barrybecker4 wants to merge 7 commits intofsparv:masterfrom
barrybecker4:40-fix-for-use-with-recent-autogtp
Open

Fix the parser for use with v18 of autogtp (#40)#41
barrybecker4 wants to merge 7 commits intofsparv:masterfrom
barrybecker4:40-fix-for-use-with-recent-autogtp

Conversation

@barrybecker4
Copy link
Contributor

The EVENT parser is pretty fragile in the sense that if the initial text sent by autogtp changes at all, it can fail in a mysterious way. I updated the regexp to accept the new text and still be backward compatible with old versions, but it could fail again in the future
if the autogtp start text changes again.

I bumped the version to 1.2.0 and also updated to gradle 6.2 and a newer version of the fatjar plugin. You can now build with java 11. A new l release will need to be created and posted.

I tested against the v16 and v17 versions of the leela-zero distribution.

barrybecker4 and others added 2 commits January 26, 2018 08:17
The EVENT parser is pretty fragile in the sense that if the initial text sent by autogtp changes at all, it can fail in a mysterious ways.
I updated the regexp to accept the new text and still be backward compatible with old versions, but it could fail again in the future
if the autogtp start text changes again.

I bumped the version to 1.2.0 and also updated to gradle 6.2 and a newer version of the fatjar plugin. You can now build with java 11.
@barrybecker4
Copy link
Contributor Author

/review @fsparv

Add some generics where needed.
Fix some warnings.
Fix typos in doc.
Remove some dead code.
Move Move into move subpackage in preparation for refactor.
Do the refactor into separate subclasses.
…ttps://github.com/barrybecker4/LeelaWatcher into 40-fix-for-use-with-recent-autogtp

� Conflicts:
�	src/main/java/leelawatcher/parser/AutoGtpOutputParser.java
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant