Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

haskell/hash> メモ #3

Open
1 task
Cj-bc opened this issue Jul 3, 2020 · 0 comments
Open
1 task

haskell/hash> メモ #3

Cj-bc opened this issue Jul 3, 2020 · 0 comments

Comments

@Cj-bc
Copy link
Owner

Cj-bc commented Jul 3, 2020

やりたいこと:

  1. POSIX互換にする
  2. Haskellの機能や関数型を取り入れる

shellの文法はどうなっているか

まず、bshellを考える

先頭に来るもの:

  • ビルトイン(変数定義・関数定義含)
  • 関数
  • Alias
  • 実行可能ファイルのパス・名前
  • コードブロックの開始: {
  • 式展開: $(

WIP

  • builtin, 関数, Alias, 実行可能ファイルで名前が衝突した場合、誰が優先されるのか?

そもそもshのやる事・目的とは

目的は

  • ユーザーの入力を読み取って、それに適した処理を実行する
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant