Skip to content

Investigate Running all Example code for validity #824

Open
@ntindle

Description

@ntindle

Feature Request

Add support for running tests and verification for all code in the AA

Description

Using Globbing and a bit of comparison magic, we could associate all code file endings with a specific interpreter/compiler/transpiler/etc, and then run the code.

Once run, we could compare all outputs of each variation of the same implementation for validity and stability.

This would allow adding new examples of an existing language easier as it would require far less language domain knowledge for each individual language.

This would have the side effect of complicating esoteric language implementation as we would want to add it to our comparison language support set.

Additional context

This will probably be pretty complicated and need custom tooling

For Algorithm Archive Developers

  • This feature can be added to the Master Overview (if it cannot be, explain why in a comment below -- lack of technical expertise, not relevant to the scope of this project, too ambitious)
  • There is a timeline for when this feature can be implemented
  • The feature has been added to the Master Overview
  • The feature has been implemented (Please link the PR)

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