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

difference in compiled output for star.tbf1 program #5

Open
rain-1 opened this issue Dec 28, 2017 · 2 comments
Open

difference in compiled output for star.tbf1 program #5

rain-1 opened this issue Dec 28, 2017 · 2 comments

Comments

@rain-1
Copy link

rain-1 commented Dec 28, 2017

Hello!

I created some terminology:

  • t1: running a tbf1 script in the python prototype
  • t2: compiling a tbf1 script with the tinyboot1.tbf1 script running on top of the python prototype. then running that binary.
  • t3: compiling a tbf1 script with the tinyboot1 binary. then running that binary.

I noticed that star.tbf1 works in t1 and t2 but miscompiled in t3.

rain-1@9b3d93f

Basically it seems to be missing a chunk at the end. I'm not sure why.

@rain-1
Copy link
Author

rain-1 commented Dec 28, 2017

segfault seems to only happen when the file does not end with a newline.

@tekknolagi
Copy link

Does that mean that the compiler written in tbf1 is incorrect?

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