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

Implement proper parser for the REPL #47

Merged
merged 3 commits into from
Aug 12, 2019

Conversation

jD91mZM2
Copy link
Contributor

@jD91mZM2 jD91mZM2 commented Aug 12, 2019

Definitely a breaking change. New syntax:

cmd Arg1 "Argument 2" Arg3 Argument\ 4, similar to bash
\n is now a line break, and can be escaped with \\n
${...} is now used for substitutions, and can be escaped with \${...}.


This also proposes using Just instead of GNU Make so @tbodt doesn't have to feel bad about us abusing the almighty Make by treating it as a simple command runner.

@jD91mZM2 jD91mZM2 force-pushed the parser branch 2 times, most recently from 61300af to 8dc453f Compare August 12, 2019 16:08
commands.go Outdated Show resolved Hide resolved
@Mnpn
Copy link
Member

Mnpn commented Aug 12, 2019

Great, thank you very much!

@Mnpn Mnpn merged commit 3f56e45 into discordconsole-team:master Aug 12, 2019
# This will not work for you.
# pls ignore.
cd "$GOPATH/bin"
./Cross\ Compile.sh DiscordConsole discordconsole-team
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this not checked in?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't have access to the script anymore, but I suppose @Mnpn03 could check it in (although IIRC it largely assumes a bunch of structure)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can someone please remind me about this later, thanks!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Mnpn03 Do you know what happened with the guy who invented the door-knocker?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

who’s there?

Copy link
Contributor Author

@jD91mZM2 jD91mZM2 Aug 14, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

He won the no-bell price.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔔 Anyway, this is your friendly reminder to commit the script

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, I've added it!

@Mnpn Mnpn added this to the 3.0.0 milestone Aug 14, 2019
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

Successfully merging this pull request may close these issues.

3 participants