Skip to content

Update data_generator script#8

Closed
jiahao wants to merge 2 commits intomasterfrom
cjh/update-datagen
Closed

Update data_generator script#8
jiahao wants to merge 2 commits intomasterfrom
cjh/update-datagen

Conversation

@jiahao
Copy link
Collaborator

@jiahao jiahao commented Jul 18, 2014

This PR updates data_generator.rb so that it runs on a modern ruby (>= v1.9, as far as I can tell).

On my machine I was able to reproduce the exact contents of utf8proc_data.c modulo the copyright header by running:

ruby data_generator.rb < unicode500.txt > utf8proc_data.c.new

jiahao added 2 commits July 18, 2014 09:16
Ideally ruby data_generator.rb < unicode500.txt > utf8proc_data.c.new produces a file identical to utf8proc_data.c
@jiahao
Copy link
Collaborator Author

jiahao commented Jul 18, 2014

I've updated PR #6 based on these updates.

@jiahao jiahao closed this Jul 18, 2014
@jiahao jiahao deleted the cjh/update-datagen branch August 2, 2014 06:54
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