Giter VIP home page Giter VIP logo

Comments (11)

stackoverflow avatar stackoverflow commented on June 14, 2024 1

Inded pkl-go is a good example for you to base your implementation on.
Also, take a look here for the message passing specification.

from pkl.

jackkleeman avatar jackkleeman commented on June 14, 2024 1

Go for it - not started anything. Translating the go repo is a solid strategy

from pkl.

jackkleeman avatar jackkleeman commented on June 14, 2024 1

https://pkl-lang.org/main/current/bindings-specification/index.html might be some info here?

from pkl.

Sir-NoChill avatar Sir-NoChill commented on June 14, 2024

Current repository. I'm essentially duplicating the pkl-go repository and translating to rust.

from pkl.

mmbarness avatar mmbarness commented on June 14, 2024

Interested in contributing. I'll take a look.

from pkl.

holzensp avatar holzensp commented on June 14, 2024

As far as I know @jackkleeman was looking at this also, but I don't know whether he made a start anywhere.

from pkl.

Sir-NoChill avatar Sir-NoChill commented on June 14, 2024

Do we need to encode the field names in the message passing standard? I am assuming yes, since it would be hard for pkl to guess positional arguments in something like

[
  0x20,
  {
    "file:",
    true,
    true,
  }
]

For context, I'm attempting to use the rmp_serde package to serialize the messages, but I'm not sure how to force it to encode field names, so if anyone has any ideas or experience that would be mighty helpful.

from pkl.

Sir-NoChill avatar Sir-NoChill commented on June 14, 2024

That's the page that prompts my question, I'm going to assume messages need to be formatted more or less exactly the same as what's shown unless there is evidence to suggest otherwise.

from pkl.

Sir-NoChill avatar Sir-NoChill commented on June 14, 2024

Including for posterity sake that I managed to figure it out. See the corresponding issue in my repo.

from pkl.

Sir-NoChill avatar Sir-NoChill commented on June 14, 2024

Does anyone know if there is a way to get the pkl server to read input from a fifo or some other method of IPC? I'm trying to debug my communications between the rust program and the server and am having some difficulties.

from pkl.

jackkleeman avatar jackkleeman commented on June 14, 2024

I think it just reads stdin, but you should be able to exec the process using any file as stdin, including a fifo?

from pkl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.