This document tracks the implementation status of the CURSED language compiler by comparing the src/
code against the specifications in specs/
.
Status: Mostly Complete
After analyzing the failing tests and parser errors, I've identified several issues with interface method declarations and type handling. This document outlines a detailed plan to fix the parser to properly support interfaces.
Method Declaration Syntax: Parser fails to handle both dot notation (Person.greet()
) and colon notation (Person:greet()
).
Interface Method Signatures: Fails to parse method signatures like greet() tea;
in interface definitions.
{-# LANGUAGE Transcendent #-} | |
{-# LANGUAGE BeyondLogic #-} | |
{-# LANGUAGE InfiniteTypes #-} | |
{-# LANGUAGE OmegaLevelTypes #-} | |
module PrintManager.Transcendent where | |
import qualified Reality.Transcendent as RT | |
import qualified Logic.BeyondGodel as BG | |
import qualified Math.TransfiniteComputation as TC |
{-# LANGUAGE DataKinds #-} | |
{-# LANGUAGE GADTs #-} | |
{-# LANGUAGE KindSignatures #-} | |
{-# LANGUAGE RankNTypes #-} | |
{-# LANGUAGE TypeFamilies #-} | |
{-# LANGUAGE QuantifiedConstraints #-} | |
{-# LANGUAGE LinearTypes #-} | |
{-# LANGUAGE OverloadedStrings #-} | |
{-# LANGUAGE StandaloneDeriving #-} | |
{-# LANGUAGE MultiParamTypeClasses #-} |
coder
is in nixpkgs at https://search.nixos.org/packages?channel=22.11&show=coder&from=0&size=50&sort=relevance&type=packages&query=coderservices.coder.enable = true;
extraFlags
?# Edit this configuration file to define what should be installed on | |
# your system. Help is available in the configuration.nix(5) man page | |
# and in the NixOS manual (accessible by running ‘nixos-help’). | |
{ config, lib, pkgs, ... }: | |
{ | |
imports = | |
[ | |
./hardware-configuration.nix | |
]; |
terraform { | |
required_providers { | |
coder = { | |
source = "coder/coder" | |
version = "0.4.9" | |
} | |
docker = { | |
source = "kreuzwerker/docker" | |
version = "~> 2.20.2" | |
} |
## Learn more about this file at 'https://www.gitpod.io/docs/references/gitpod-yml' | |
## | |
## This '.gitpod.yml' file when placed at the root of a project instructs | |
## Gitpod how to prepare & build the project, start development environments | |
## and configure continuous prebuilds. Prebuilds when enabled builds a project | |
## like a CI server so you can start coding right away - no more waiting for | |
## dependencies to download and builds to finish when reviewing pull-requests | |
## or hacking on something new. | |
## | |
## With Gitpod you can develop software from any device (even iPads) via |
POST https://marketplace.visualstudio.com/_apis/public/gallery/extensionquery HTTP/1.1 | |
content-type: application/json | |
accept: application/json;api-version=3.0-preview.1 | |
accept-encoding: gzip | |
{ | |
filters: [ | |
{ | |
criteria: [ | |
{ |
# Essentials:
datasette
sqlite-utils
pip