Skip to content

Fix splitting of toplevel phrases #1533

Open
@pitag-ha

Description

@pitag-ha

There is a FIXME in the code generating html from toplevel blocks. Notice that in the OCaml toplevel (in other languages called REPL), the end of a code phrase is signalized by ;;. I suggest fixing the mentioned FIXME, which consists in two things:

  • at the moment every ;; is split on, even if that ;; belongs to a string inside the code. That needs to be fixed
  • if it was possible to find a more efficient way to do the splitting than using regex, for example using String.split_on_char and/or similar, that would be great.

Metadata

Metadata

Assignees

No one assigned

    Labels

    mediumMore Complex Issues for Outreachy

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions