This website requires JavaScript.
Explore
Help
Sign In
GaloisInc
/
cryptol
Watch
1
Star
1
Fork
0
You've already forked cryptol
mirror of
https://github.com/GaloisInc/cryptol.git
synced
2024-11-30 23:45:23 +03:00
Code
Issues
Projects
Releases
Wiki
Activity
21e49459df
cryptol
/
tests
/
regression
/
check31.icry.stdout
6 lines
118 B
Plaintext
Raw
Normal View
History
Unescape
Escape
make cryptol interpreter utf8 by default Previously we were just using Prelude's `readFile`, which uses the system default locale. This meant that people writing Cryptol in other locales might produce source files that work fine for them but not others. Now the interpreter sets the default locale to utf8 at startup. Additionally, the code to catch exceptions from loading modules was too lazy, allowing exceptions to bring down the whole process when the module contents were forced outside of the `try`. We also assumed that any IO exception was from files not being found; there's now an "Other IO exception" possiblity. Incorrect locales will trigger this alternative because the actual IOException raised isn't specific to locale errors.
2015-02-27 04:35:41 +03:00
Loading module Cryptol
Update test for new utf-8 error message
2019-02-28 21:04:17 +03:00
[error] bad utf-8 encoding: ./check31.iso8859.cry
make cryptol interpreter utf8 by default Previously we were just using Prelude's `readFile`, which uses the system default locale. This meant that people writing Cryptol in other locales might produce source files that work fine for them but not others. Now the interpreter sets the default locale to utf8 at startup. Additionally, the code to catch exceptions from loading modules was too lazy, allowing exceptions to bring down the whole process when the module contents were forced outside of the `try`. We also assumed that any IO exception was from files not being found; there's now an "Other IO exception" possiblity. Incorrect locales will trigger this alternative because the actual IOException raised isn't specific to locale errors.
2015-02-27 04:35:41 +03:00
Loading module Cryptol
Loading module F
ο
ο
Reference in New Issue
Copy Permalink