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

original implementations #2

Open
dribnet opened this issue Oct 23, 2023 · 2 comments
Open

original implementations #2

dribnet opened this issue Oct 23, 2023 · 2 comments

Comments

@dribnet
Copy link

dribnet commented Oct 23, 2023

Enjoyed this recreation. From the write up it wasn't clear if you had looked at the previous development history as a reference in your work. Note that the full version development history for the version written and maintained by @benfry is available here on github which covers all development from 1999-2001 (versions 1.1 to 3.01). I wrote the previous alpha version of dbn 1.0.1 in 1998 which can be found here and runs from here in a java applet; this DBN 1.0.1 was the first runnable version and that repository includes some sample programs and the initial lexer file.

@LingDong-
Copy link
Owner

Thanks!!

I haven't looked at the original source codes, I sort of did a "clean room" implementation by playing around with the compiled java applet and see what happens when I write this or that. I tried to consider every case and replicate everything but likely missed a few (like the 101x101 problem you pointed out in the other issue : )

Thanks for the links; it is very interesting to see and compare how it was originally implemented. Perhaps I'll be able to find and fix more discrepancies!

@jacoblister
Copy link

Hi @LingDong- appologies for the cross posting, but just saw you active here and I was keen to get in touch :)

I've picked up on another one of your projects https://github.com/LingDong-/wax - and have done quite a bit around that over the last couple of years - It inspired me to have a go at writing a compiler, and I've written

  • an alternative self hosted compiler in the wax language spec
  • backends for javascript/C/C++/Python
  • a minimal TypeScript front end parser for it

...and more recently a Nintento Gameboy emulator! (the compiler I've written can parse it from TypeScript source code and generate it back as JS/C++ etc)
https://github.com/jacoblister/emuboy

Also, there are also a couple of old merge requests in your original Wax reposity for example programs.

Would you be able to have a look? It would be awesome to colaborate on some of this

Cheers

Jacob

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

3 participants