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

Support nibbles.bas #12

Open
ubershmekel opened this issue Sep 19, 2018 · 4 comments
Open

Support nibbles.bas #12

ubershmekel opened this issue Sep 19, 2018 · 4 comments
Assignees
Labels
QBasic Needed for better QBasic compat

Comments

@ubershmekel
Copy link

ubershmekel commented Sep 19, 2018

Awesome project, thank you!

I tried running https://github.com/tangentstorm/tangentlabs/blob/master/qbasic/NIBBLES.BAS and hit a few roadblocks. I don't have time now but might get back to it later. Issues I immediately see:

  • \r\n breaks a lot (newlines aren't ignored, tokens catch a trailing space)
  • LOOP WHILE StillWantsToPlay seems to be unsupported and throws Expected "(" found "<EOL>" at line 94

Would a PR for supporting nibbles be welcome?

@trn1ty
Copy link

trn1ty commented Sep 20, 2018

Looks like you're trying to run a QBASIC program on WWWBASIC. WWWBASIC is actually based on IBM PC-BASIC (probably) so you might wanna see about porting Nibbles to that if anything. See issue #6.

@flagxor
Copy link
Collaborator

flagxor commented Sep 20, 2018

So I've been inching towards trying to get GORILLA.BAS working on a branch, which along with NIBBLES.BAS, was one of the qbasic samples.

A bunch of the parsing is in towards SUBs, FUNCTIONs, TYPEs, but more is needed for them to run correctly.

Up just pushed up my WIP branch towards functions here:
https://github.com/google/wwwbasic/tree/functions

But I like the idea of starting with NIBBLES, as I think it's smaller / might need less to work.

@flagxor flagxor self-assigned this Sep 20, 2018
@flagxor flagxor added the QBasic Needed for better QBasic compat label Sep 20, 2018
@flagxor
Copy link
Collaborator

flagxor commented Nov 26, 2018

Getting closer on this, some things running, but a few gaps remain:
https://google.github.io/wwwbasic/wip/nibbles.html

@flagxor
Copy link
Collaborator

flagxor commented Nov 26, 2018

Blocked by #46

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
QBasic Needed for better QBasic compat
Projects
None yet
Development

No branches or pull requests

3 participants