Skip to content

GIL should have a sane syntax #236

Description

@giltho

The current syntax of GIL is a bit insane:

  • lists are captured by {{ }}
  • l-nth should should probably be replaced by an appropriate indexing operator
  • integers are postfixed with i, instead we should go with the ocaml-like notation of n+ is an integer n+\.n* is a float.
  • ...

We should:

  1. Choose a new, better syntax
  2. Have a script available that translates the old syntax into the new syntax
  3. Translate every GIL file into the new version syntax
  4. Get rid of the old syntax entirely, but keep a module available a parser and rewriter old-syntax -> new-syntax just in case.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions