Home

Awesome

SudoLang

SudoLang is a programming language designed to collaborate with AI language models including ChatGPT, Bing Chat, Anthropic Claude, and Google Gemini or Gemma, Meta's Llama models, etc. It is designed to be easy to learn and use. It is also very expressive and powerful.

All sufficiently advanced language models understand it without any special prompting. You do not need to paste the SudoLang specification before using SudoLang with your favorite AI.

SudoLang Features

Why SudoLang?

For most simple prompts, natural language is better. Use it. But if you need the AI to follow a program, obey constraints, keep track of complex state, or implement complex algorithms, SudoLang can be extremely useful.

Please read the SudoLang documentation for more information about the language.

Examples can be found in the examples folder.

Getting Started

  1. Clone the SudoLang repository from GitHub.
  2. Make sure the code command is in your path.
  3. CMD+SHIFT+P
  4. Type code - don't press enter.
  5. Select "Shell command: Install 'code' in PATH."
  6. Open up a terminal in the project root folder.
  7. code --install-extension sudolang-llm-support-2.0.0-rc.1.vsix
  8. Open syntaxes/syntax-test.sudo. It should be syntax-highlighted.

Learning SudoLang

SudoLang Programs

Articles

Video