this post was submitted on 04 Apr 2024
25 points (96.3% liked)

Programming

17255 readers
119 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 1 year ago
MODERATORS
25
submitted 6 months ago* (last edited 6 months ago) by [email protected] to c/[email protected]
 

I am implementing my own POSIX Shell so I wrote this not to get lost. I posted a much more inferior iteration of this weeks ago ---that one was truly subpar. This one is much better.

Bonus: ebnf.vim.

Thanks.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 4 points 6 months ago* (last edited 6 months ago) (1 children)

there are typos in lines 118 (asyncp), 202 (substitue), 346 (bracketet; also see line 352) and 386 (asnyc), and in line 346 you did not update the names from brack to bracket, and in line 283 (and consequently also line 320) the word order should probably be redirect-output-append

[–] [email protected] 2 points 6 months ago (1 children)

Apologies. I will definitely fix them. Do you notice any more errors? I myself just realize that-- path expansion could be replaced with actual rules. Thanks again.

[–] [email protected] 3 points 6 months ago* (last edited 6 months ago) (1 children)

I updated my comment again. Also, there is no need to apologize! It is virtually impossible to write a document of this size without typos.

[–] [email protected] 2 points 6 months ago

Thanks my good human.