Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Create your own programming language with Rust

License

NotificationsYou must be signed in to change notification settings

ehsanmok/create-your-own-lang-with-rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Github PagesCI

This repository contains the codes and the contents forcreatelang.rs

Why am I writing this book?

The book arises from my frustration of not finding modern, clear and concise teaching materials that are readily accessible to beginners like me who wants to learn a bit on how to create their own programming language.

The following are my guidelines

"If you don't know howcompilers work, then you don't know how computers work"1

"If you can’t explain something in simple terms, you don’t understand it"2

Requirements

Make sure you have

  1. Rust toolchain installed
  2. Cloned this repository (follow the instructions in each chapter)
  3. LLVM installed to run and test locallycargo test --tests
    • Easiest option is LLVM v14.0 (Debian/Ubuntu ormacOS)
    • Otherwise, inCargo.toml you'd need to change theinkwell = { ..., branch = "master", features = ["your-llvm-version"] } with LLVM version on your system (output ofllvm-config --version)

To build the book locally, navigate to thebook subdirectory and follow the instructions inmdbook.

Roadmap

Checkout theroadmap to the 1st edition.

Donation

If you have found this project useful, please consider donating to any of the organizations below

Contributors9


[8]ページ先頭

©2009-2025 Movatter.jp