Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.
/ ysh Public archive

A custom unix shell, written in multiple languages.

License

Notifications You must be signed in to change notification settings

tducasse/ysh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ysh

A custom unix shell, written in multiple languages.

Add another language

  • run make language=YOUR_LANGUAGE
  • go to ./implementations/YOUR_LANGUAGE
  • write your implementation according to the specification
  • make sure you add build/run instructions to ./implementations/YOUR_LANGUAGE/README.md

Specification

  • cross-platform (Linux, Windows, Mac)
  • the executable is called ysh-YOUR_LANGUAGE to avoid name collisions
  • built-in commands

Built-in

  • cd
  • ls
    • without params
    • with params
  • mv
  • cp
  • rm
  • touch
  • cat
  • edit (text editor)
  • ...

Available implementations

A few other languages on my list

  • c#
  • python
  • ruby
  • swift
  • lua

About

A custom unix shell, written in multiple languages.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published