Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mylang (C)

A minimal interpreter written in C

The name "mylang" is temporary and may change in the future.

Project Structure

├── main.c       # Entry point
├── lexer.c      # Lexical analysis
├── lexer.h
├── parser.c     # Syntax analysis
├── parser.h
├── token.h      # Token definitions
├── env.c        # Variable store
├── env.h
└── Makefile     # Build

Example

x = "hello"
print(x)
print("Hello world")

Build

Make

make 

Run

./run test.txt

Roadmap

  • Hello World
  • Variables
  • Numbers
  • Expressions
  • AST

About

mylang

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages