Skip to content
This repository has been archived by the owner on Feb 5, 2023. It is now read-only.
forked from ZYHowell/Yx

Yx: a language only for demo use

Notifications You must be signed in to change notification settings

panic-coursework/sucklessYx

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yx

This is a language only for demo use.

Grammar

Type

It has int and bool type in default(but no bool variable)

It also support definition of struct

Arithmetic operation

arithmetic operation can only be '+', '-' or '==', '!='.

Statement

A statement can only be:

  1. a definition of a variable
  2. an expression
  3. an 'if-else'
  4. a return

About

Yx: a language only for demo use

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 98.4%
  • ANTLR 1.6%