Skip to content

schrodingerbug/wylanguage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

image alt

Welcome to the Wy Programming Language!

I mainly created this to test my Python skill at my current level,and it was fun to create. This is a very small and expiremental language with minimal syntax,but I will explain to you nonetheless.

To get started,you begin by typing one of these five functions:

1)variable

To set variables. It asks you to name one variable and to set its value.

2)log

To print to the console. You write log<'..'> for text,and just log<...> for variables.

3)boolean

You type in the following: Say my variable is called "x" and the value is 20. You type in x?=20.This will get the output "True".Otherwise,it will output False.

4)maths

Self-explanatory.You type in basic arithmetic and it gives you the result.No log<> needed,just write away. So that is all of Wy!It has the basics of any programming language:variables,printing,booleans and mathematics.

5)wy_list

This is self explanatory. You first name the list (i.e. 'L').

Then you set its items like this: L , O , L , I

And then it prints out: L=['L' , 'O' , 'L', 'I']

I have also added a quit function.

You just type 'quit' and the program stops.

Have fun coding in this new language!

About

A mini programming language I created with minimal syntax.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Contributors

Languages