Skip to content

Add Serialization#272

Merged
n1t0 merged 19 commits intomasterfrom
serialization
May 27, 2020
Merged

Add Serialization#272
n1t0 merged 19 commits intomasterfrom
serialization

Conversation

@n1t0
Copy link
Copy Markdown
Contributor

@n1t0 n1t0 commented May 19, 2020

Closes #15

  • Python bindings for loading/saving
  • Node bindings for loading/saving
  • Update documentations and READMEs
  • Update CHANGELOGs

@n1t0
Copy link
Copy Markdown
Contributor Author

n1t0 commented May 21, 2020

Ok we are almost ready to merge this! The last missing piece is the Node typings. I'm not sure what's the best way to handle this @Pierrci

@AndriyMulyar
Copy link
Copy Markdown

This is a great addition. Any info on an ETA for the merge into master?

@@ -1,6 +1,11 @@
const native = require("./native");

class Tokenizer extends native.tokenizer_Tokenizer {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@n1t0 I went for something very simple, I was not completely sure at first that it would work but it does 😁.
Let me know if it's good for you, I might add more JS tests early next week, but feel free to merge without them!

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That seems great! Thank you @Pierrci!

@n1t0 n1t0 force-pushed the serialization branch from 48df40c to a03eba2 Compare May 27, 2020 17:13
@n1t0 n1t0 merged commit 8371fb8 into master May 27, 2020
@n1t0 n1t0 deleted the serialization branch May 27, 2020 17:20
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.

Tokenizer saving/loading

3 participants