Coder Social home page Coder Social logo

Switch to angstrom ? about mrmime HOT 5 CLOSED

nojb avatar nojb commented on May 30, 2024
Switch to angstrom ?

from mrmime.

Comments (5)

nojb avatar nojb commented on May 30, 2024 2

Thanks for the reply! I am working on some related things currently and would be quite interested in making Mr. MIME use Angstrom. Would you consider a pull request in this direction ?

from mrmime.

dinosaure avatar dinosaure commented on May 30, 2024

Mr. MIME try to parse an e-mail which one has different layers. Some layer can be described only with Angstrom (and it's why we have the same implementation than Angstrom). However, others layers need a more precise parsing (encoding, UTF-8, and, for the future, others encodings like UTF-7) or some faster process than Angstrom (like ocamllex in top of some assumptions).

For all of these, the best is to know the type of Angstrom.t (the record which one have only one function) to hack inside.

Then, I started Mr. MIME when Angstrom just appeared from the hood. I think, now, we can rework Mr. MIME with the scan_state function (which appeared after). However, I'm currently on ocaml-git. I will come back to Mr. MIME (and focus on encoding) and I will do the choice at this time 😃 !

from mrmime.

dinosaure avatar dinosaure commented on May 30, 2024

Yes, you can ! But just keep in your mind, Mr. MIME is experimental and the interface needs a big improvement. So, you are free to do what you want and we can talk about the best choice then. I think, to switch to Angstrom is not a big deal because I use the same operator for the same purpose - we just need to take care about some details (but don't worry, I have all in my head).

from mrmime.

avsm avatar avsm commented on May 30, 2024

just a note that the new working version of this repo in https://github.com/mirage/mrmime does now use angstrom

from mrmime.

nojb avatar nojb commented on May 30, 2024

Great 😄

from mrmime.

Related Issues (1)

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.