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

Source code of exemple #3

Open
Tom-GARNIER opened this issue May 7, 2024 · 3 comments
Open

Source code of exemple #3

Tom-GARNIER opened this issue May 7, 2024 · 3 comments

Comments

@Tom-GARNIER
Copy link

Hello,
Do you have the source code of the prompt you used to generate the malbolge programs in samples directory?
I don't know what I need to put in the generator to use it
Do you have any explication please?
I didn't understand

\p [char] | Display prompt, assume user inputs char
\x | Erase user input
\s | Don't erase user input till next output
\\ | Display \

How did you obtain the code for the samples?
Thanks you

@zb3
Copy link
Owner

zb3 commented May 8, 2024

Quoting the readme:

Many of these sample programs were developed using the LMAO assembler (which is awesome and GPL btw), and source code (assembly) for these examples is provided.

The examples are here:
https://github.com/zb3/malbolge-tools/tree/master/samples/src

Note that I wrote this 9 years ago so I don't actually remember how that HELL code was written :D

@Tom-GARNIER
Copy link
Author

Thanks you for your response

I wanted HELL code for malbolge samples

I will try by myself

Juste another question, in your malbolge generator, how to use \p do to prompt?
How to get the result (not display it immediately)

Thanks you

@zb3
Copy link
Owner

zb3 commented May 8, 2024

How to get the result (not display it immediately)

My code generator doesn't support logic like this, you'll need to code in.. hell :)

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

2 participants