Skip to content

linux CLI platform #1

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

Closed
wants to merge 41 commits into from
Closed

linux CLI platform #1

wants to merge 41 commits into from

Conversation

dckc
Copy link
Collaborator

@dckc dckc commented Dec 28, 2019

@dckc dckc requested a review from warner January 4, 2020 15:29
dckc and others added 24 commits January 27, 2020 19:20
use "mcconfig -p x-cli-lin" to build it

Signed-off-by: Dan Connolly <[email protected]>
If the headersComplete callback returns 'upgrade', return from the
server callback immediately rather than continuing to the
prepareResponse callback.
websockets.js doesn't check socket.write() to see how much data it can
send. The agoric pixel demo goes over 1k, so let's use 4k for now.
  - set promiseJobsFlag in fxQueuePromiseJobs
    This lets the lin_xs_cli platform run the promise queue to quiescence,
    a technique taken from xsl.
  - exit when promise from main() resolves
  - exit with failure if main() promise is rejected
  - fix hang in delete machine: don't unref main context
  - keep main loop running while promise jobs are pending
  - never mind then() process
If the headersComplete callback returns 'upgrade', return from the
server callback immediately rather than continuing to the
prepareResponse callback.
websockets.js doesn't check socket.write() to see how much data it can
send. The agoric pixel demo goes over 1k, so let's use 4k for now.
@dckc
Copy link
Collaborator Author

dckc commented Jan 28, 2020

I factored out 3 independent branches. See description (1st comment) for details.

@dckc
Copy link
Collaborator Author

dckc commented Jan 28, 2020

@erights asked if XS has a REPL and I said no. I just (re-)discovered that it does:
https://github.com/Moddable-OpenSource/moddable/tree/public/examples/js/repl

Let's add that to the release targets.

I suppose he uses a mac... releasing a binary of the REPL for mac is probably a separate issue... but we don't have issues turned on in this repo...

@dckc
Copy link
Collaborator Author

dckc commented May 13, 2021

overtaken by events long ago

@dckc dckc closed this May 13, 2021
kriskowal pushed a commit that referenced this pull request Dec 28, 2021
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

Successfully merging this pull request may close these issues.

2 participants