r/ProgrammingLanguages • • Jun 27 '26

Discussion Artifact-centric programming

As I develop my programming language, Claude says that I have an "artifact-centric" programming language. I'd never heard the term. I've researched it and asked Claude about it, but I'd be very interested to read what you as language developers understand the term to mean. If someone told you that a language is good for ACP, what would you expect it to be like?

You can read about Caspian here but I'm hoping you'll post your thoughts before reading about it. Caspian is very much a work in progress. I've hardly even developed any code for implementation. Right now it's just a design in progress. To the extent it exists, however, it is already released under the MIT license.

I look forward to your insights.

(EDIT: Claude told me that it made the term up. Notwithstanding, I'm interested in your thoughts.)

0 Upvotes

15 comments sorted by

View all comments

Show parent comment

1

u/mikosullivan Jul 05 '26

I'm still working on the syntax. The basic idea is that your program retrieves the class definition from the URL of the class. It will be in JSON and will define things like method names, method URIs, params, and what they return. So a class definition might look like this. Note that Puck has no concept of ordered params; they're all named params.

    {
        "methods": {
            "foo": {
                "params": {
                    "bar": {
                        "class": "string",
                        "required": true
                    }
                },

                "returns": "https://puck.uno/color"
            }
        }
    }