/humanscript

A modern, easy-to-use programming language designed for clarity and efficiency.

Primary LanguagePython

humanscript

Open Docker Python interpreter

Right now this is the only way to run HumanScript

docker build -t my-python-app .
docker run -it --rm --name my-running-app -v "$(pwd)":/app my-python-app
docker exec -it my-running-app /bin/bash

Run HumanScript

dna examples/hello_world.dna

Examples

Hello world

tell "Hello world!"

Get input

ask "What's your name?"

Variables

name as String = "Gabriel"
age as Number = 24

Function example

greetings as Function with
  name as String,
  age as Number do
  tell name
  tell age
end

call greetings "Gabriel", 24

File extensions

  • .dna - HumanScript source code