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

Permit pseudocode syntax #43

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Forgind
Copy link
Contributor

@Forgind Forgind commented Sep 12, 2023

Resolves #26

Not 100% sure if I interpreted this issue correctly...feel free to tell me you meant something completely different 🙂

@mirdaki
Copy link
Owner

mirdaki commented Sep 12, 2023

Sorry for the confusion. I was thinking more an option to convert a file written in the pseudo code to a file with the quotes, and back again. Not actually executing the pseudo code option

@Forgind
Copy link
Contributor Author

Forgind commented Sep 13, 2023

I could imagine that being useful...but the first way I think of would require multiple sources of truth. I'll think about it a bit.

@Forgind
Copy link
Contributor Author

Forgind commented Sep 13, 2023

Alright, so I didn't come up with a way to do this without adding a new source of truth. Here's a sketchy file that (in my first test, at least) can convert between pseudocode and The Force statements. It does make a couple minor assumptions, but I think it mostly should work.

It also has starter code for converting from pseudocode or The Force into a video montage of quotations from Star Wars! But I didn't see a way to combine videos in C# without downloading extra gunk (and there probably isn't one), so I left that part as an exercise for the user.

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.

Support converting from "Real" keywords to quotes
2 participants