Skip to content

Char ranges. OCaml 0-255, NHol with F# 0-65535 #1

Open
@EricGT

Description

@EricGT

HOL Light with OCaml uses a char range of 0-255.
With F# based on .NET the char range is 0-65535.

This will cause problems with functions based on printer.ctable such as printer.isspace, printer.issymb, etc. because they will throw System.IndexOutOfRangeException for a char with a value of 256 or greater as ctable is an array with only 255 values.

For now we will limit the input values from 0-255 to be in agreement with the OCaml range, but latter may modify the functions to handle the fuller range of characters.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions