Skip to content

πŸ™ Tako β€” A lightweight scripting language for OS development, embedded systems, and educational interpreters. Includes interpreter, assembler, and ELF Linux compiler.

License

Notifications You must be signed in to change notification settings

minhmc2007/Tako

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

33 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

tako-logo

πŸ™ Tako Language

Tako is a small, flexible interpreted scripting language made for tiny operating systems, embedded devices, or just having fun.
Created by @minhmc2007, Tako is designed to be minimal, hackable, and educational β€” written entirely in C with no dependencies (expect compiler).

CodeRabbit Pull Request Reviews


✨ Features

  • 🧠 C-style scripting: set x = 10, add x 5, if x > 10
  • πŸ“œ Human-readable syntax, easy to learn and write
  • πŸ” Supports control flow: if, loop, end
  • πŸ–¨οΈ Powerful print system: strings, variables, combined
  • βš™οΈ Self-contained interpreter: tako.c
  • ⚠️ (Optional) Barebones compiler (compiler.c) for ELF output β€” limited feature support

πŸ”§ Syntax Example

# Set a variable
set x = 10

# Add to it
add x 5

# Conditional
if x > 10
  print "x is bigger than 10" x
end

# Looping
loop 3
  print "Looping..." x
  add x 1
end

# Final output
print "Final x:" x

πŸš€ Usage

🧠 Run Scripts (Recommended)

Compile and run using the interpreter:

gcc tako.c -o tako ./tako script.tako

πŸ› οΈ Compile to Native ELF Binary (⚠️ Experimental)

❗ The compiler (compiler.c) only supports very basic scripts. For real projects, use tako.c.

gcc compiler.c -o compiler ./compiler script.tako output_binary chmod +x output_binary ./output_binary


πŸ“ File Types

Extension Description

.tako Tako language source code

.asm (Optional) assembly output

.o ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), not stripped


πŸ™ Why β€œTako”?

β€œTako” (γŸγ“) means octopus in Japanese β€” small, smart, and flexible. Just like this language: lightweight, expandable, and surprisingly useful πŸ™.


πŸ‘€ Author

Made by @minhmc2007

Part of the Blue Archive Linux / TinyDOS / OS dev journey!


πŸͺͺ License

MIT License β€” open source and hack-friendly.

About

πŸ™ Tako β€” A lightweight scripting language for OS development, embedded systems, and educational interpreters. Includes interpreter, assembler, and ELF Linux compiler.

Resources

License

Stars

Watchers

Forks

Packages

No packages published