[go: up one dir, main page]

Skip to content

DevyDhanish/meow-lang

Repository files navigation

MEOWLANG

This is official repository for meowlang, A Stupid programming language written in C++


Extension

check out the repo for meowlang extension here

I merged dev branced into prod : ( so be aware it has lots of bugs
Follow meowlang on insgram @meow__lang

License: GPL v3

BUILD

mkdir build lib
In the root directory of the project type make if using mingw type mingw32-make
After building meowlang.exe or meowlang will be present in the build directory.

HOW TO USE

1 - Variables 🔢

# this is a comment
# Meowlang is dynamicly typed.

x = 10
y = "Hello" # don't use '' for strings ok baby.
z = "bruh"
b = 12.31

2 - Array ☕

# array can hold any type of data but it will be fixed in lenght throught the programs run time.

x = {"this", "is", "an", "array", 1,23423, 3423, 23.20} 

3 - Functions 🚗

func foo()
{
  print("hello this is a function")
}

4 - Loops ➿

min = 0
max = 10

# while loop

while (min < max)
{
  print(min)
}

x = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}

for i in x
{
  print(i)
}

5 - If,else,elif 💡

a = 10
b = 10

if a == b
{
  print("they are same")
}
elif a <= b
{
  print("a is less than or equal to b")
}
else
{
  print("idk")
}

GETTING STARTED

If you want to donwload and get started using meow-lang, resources listed below will help you.
How to install meow-lang (This video was made with meowlang v1 so it has old syntax. I'll update with a newer one soon)
How to use meow-lang (This video was made with meowlang v1 so it has old syntax. I'll update with a newer one soon)

About

A stupid programming language written by a stupid programmer

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages