-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
common common functions ;-) #699
Comments
To stay close to the original BASIC implementation I would propose the following functions (pseudo language)
In addition it could be useful to have the following functions:
|
yes! I think this is perfect. Just the minimum viable set of common functions, justified by at least 10 (ish) of the programs needing them..? |
I have published a utility crate for rust users. |
See the common library for .Net at I like the idea of having a set of functions with names/signatures that are typical of the language's standard library, but provide the behaviour of the BASIC interpreter. I don't like the idea of creating a DSL that looks like BASIC. Hence, I have not implemented a |
In #548 (comment) it was decided to have a (minimal) set of common IO-functions so those don't need to be re-implemented in every game.
I propose we use the same function (same names) in every programming language (as far as possible!)
That way the code get's easier to read and compare.
What do you think?
The text was updated successfully, but these errors were encountered: