Skip to main content

An experimental programming language combining formal and informal computation.

Project description

An experimental programming language combining formal and informal computation.

© 2024, 2025 Daios Technologies Limited

preview

Read the Docs: https://mindscript.daios.ai
Try in Browser: https://www.daios.ai/playground
Source code: https://github.com/DAIOS-AI/mindscript

Description

MindScript is a programming language that seamlessly integrates both formal and informal computation.

MindScript lets programmers code directly when the method for accomplishing a task is clear. Conversely, when they know what they want but not how to achieve it, developers can simply describe their intent. Indeed, for certain functions, such as analyzing the sentiment of a sentence, there might not exist a concrete implementation at all. The syntax is designed to make such specifications straightforward.

A distinctive feature of MindScript is its dual support for both formal and informal types. The formal types are as in other programming languages, which allow expressing hard constraints. The informal types (unique to MindScript) on the other hand offer flexible inductive constraints, similar to how our observations guide our own thought processes.

In practice, formal computation within MindScript is realized through a Turing-complete language (λ), while informal computations are handled by an oracle, realized through a language model (Ψ) which interprets and processes less structured inputs (hence λΨ).

Features

  • Implements an oracle machine.

  • Minimal C-like/JavaScript/Lua syntax on top of JSON data types.

  • Everything is an expression.

  • The formal type system is:

    • dynamic (runtime-checked),
    • structural (based on the properties, not on names or object hierarchies),
    • and strong (type rules are strictly enforced).
  • Code comments are informal type annotations.

  • (Current version) interpreter implemented in Python.

Applications

  • Applications that use large language models
  • Processing of unstructured information
  • Language model agents
  • Semantic web
  • and much more.

Requirements

Disclaimer

This is a strictly experimental programming language. The Python implementation does not aim to be efficient and most likely contains bugs.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mindscript-0.3.0.tar.gz (44.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mindscript-0.3.0-py3-none-any.whl (47.9 kB view details)

Uploaded Python 3

File details

Details for the file mindscript-0.3.0.tar.gz.

File metadata

  • Download URL: mindscript-0.3.0.tar.gz
  • Upload date:
  • Size: 44.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for mindscript-0.3.0.tar.gz
Algorithm Hash digest
SHA256 3310ab0189f26de7932d9759a8bc0c17c40795bba03adc19828e9db863b87bd5
MD5 0006b9ea66309e2c3f8f169dcad81400
BLAKE2b-256 e04ab75b95a49a0e25a54a604f1c258160c8927a8c1555b68e86bd0a0a451c57

See more details on using hashes here.

Provenance

The following attestation bundles were made for mindscript-0.3.0.tar.gz:

Publisher: publish.yml on DAIOS-AI/mindscript

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mindscript-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: mindscript-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 47.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for mindscript-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7a9c1db00c379689cdd24fb4b6fe40fe69a1e87e2da5c3652c9fcf30055c482c
MD5 53d783d763320af8268ecc7e3ea82a7d
BLAKE2b-256 d6022973f709f63f98a29410168f39c7e3c9eba2d55fa633aad6d971ddf25361

See more details on using hashes here.

Provenance

The following attestation bundles were made for mindscript-0.3.0-py3-none-any.whl:

Publisher: publish.yml on DAIOS-AI/mindscript

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page