Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Document maiko virtual machine: opcodes, subrs, memory model, architecture, compiler considerations, etc #28

Closed
masinter opened this issue Sep 6, 2020 · 3 comments
Labels
help wanted Extra attention is needed

Comments

@masinter
Copy link
Member

masinter commented Sep 6, 2020

@nbriggs :

the whole "makeright ..." build process is a bit of a mess ...

To my mind the real problems are mostly issues with factoring the OS dependencies properly in the code (is it <strings.h> or <string.h>, do you need <time.h> or <sys/time.h> or both? Do we need <unistd.h>? Do we have <stdint.h>? Do we depend in <ioctl.h>? Do we need to use fcntl() or ioctl() to speed up the I/O for X displays? etc. etc. etc.) If someone were, for example, trying to port the code to an ARM processor on e.g. a Raspberry Pi, what would they need to change in the configuration? What if it were WebAsm? What about Apple Silicon? What if we were trying to rebuild Medley 2.0 instead of 3.5? It's not well documented!

@waywardmonkeys
Copy link

A lot of the above concerns have been evolving in the last couple of days.

@masinter masinter added the help wanted Extra attention is needed label Aug 3, 2021
@masinter masinter changed the title Document maiko properly Document maiko virtual machine: opcodes, subrs, memory model, architecture, compiler considerations, etc Aug 3, 2021
@masinter
Copy link
Member Author

first step is to gather the documentation we have: comments in code, tedit files, old emails
then we can discover the gaps

@masinter
Copy link
Member Author

masinter commented Sep 10, 2022

There are some documents now in the repo under docs/internal/opcodes.tedit => medley-docs-internal-opcodes.pdf in the Medley-PDFs on the shared Internet google drive.

https://groups.google.com/d/msgid/lispcore/859A698F-30F6-4957-BB30-61C06E70A402%40gmail.com?utm_medium=email&utm_source=footer

https://gist.github.com/masinter/0c62f36fcb3750b7c108a23c61ad62c9

@Interlisp Interlisp locked and limited conversation to collaborators Oct 9, 2024
@masinter masinter converted this issue into discussion #1849 Oct 9, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
help wanted Extra attention is needed
Projects
Status: Done
Development

No branches or pull requests

2 participants