Skip to content

Implement the compiler in the source language #174

@zerbina

Description

@zerbina

The lack of real-world program being written in the source language makes it hard to gather meaningful insights into compiler performance, ergonomics of source language features, and performance of the compiled code.

A good candidate for a real-world program is the compiler itself, which would allow for comparisons between the source language and NimSkull (code size, lines-of-code, performance, etc.). Some discipline will be required in order to ensure that the source language doesn't become overly tailored to compiler development.

Source Language Prerequisites:

Note: the above only represent the projected minimum set of features necessary for implementing the compiler without an excessive amount of boilerplate / extra work

Tooling/Additional Prerequisites:

  • a concrete syntax for the interim (could just be S-expressions)
  • IDE integration (code completion and in-line errors; not strictly necessary, but would help a lot)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions