Updated specification, AI training prompt, and more examples at https://github.com/CoreyNaas/TACL/
Specification Version: v1.0.1 (2023-11-13T19:00:00-07:00)
Thing-Action-Context Language (TACL) is a language that centers around the concept of "Things" which encapsulate data, actions, and control structures. TACL emphasizes readability and simplicity, using unique syntax that mirrors natural language while maintaining computational precision.
It is a formulaic way to explain how to do anything.
This is the functional description for Thing-Action-Context Language (TACL), a general purpose language written by Corey Naas in November 2023.
Hello World
In this program, we define a Main action that takes no inputs. This action simply prints "Hello World!" to the standard output and then returns 0.
# Define the action "Main" with the system "DefineAction" action
<Main>[DefineAction]{
<Input> is {}
<Default><Error>"An Error has occurred."
<Body>{
[Print]{"Hello World!"}
<Return>{0}
}
}
# Execute the action "Main" with no inputs
[Main]
Version History
| Version | Date | Author | Changes | Notes |
|---|---|---|---|---|
| 0.9.0 | 2023-11-08 | Corey Naas | Internal release of TACL specification. | - |
| 1.0.0 | 2023-11-13 | Corey Naas | Public release of TACL specification. | on https://coreynaas.com |