Open craff opened 1 year ago
I would be happy to merge it! Can you describe the application briefly in a bit more detail? I was unable to understand -- you are generating an OCaml file from HTML, and you'd like to point lines back to the HTML file?
Anton Bachin @.***> writes:
I would be happy to merge it! Can you describe the application briefly in a bit more detail? I was unable to understand -- you are generating an OCaml file from HTML, and you'd like to point lines back to the HTML file?
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were assigned.
Have a look at https://raffalli.eu/simple_httpd/simple_httpd/vfs_pack.html
A PR is on its way ...
-- Christophe Raffalli tél: +689 87 23 11 48 web: http://raffalli.eu
Ce mail est signé avec pgp (Pièce jointe signature.asc, clef sur https://raffalli.eu/pgp) This mail is signed with pgp (Attachment signature.asc, key on https://raffalli.eu/pgp)
I did the PR and tested it in https://github.com/craff/simple_httpd. It seems to do the job.
Would be nice to be able to produce a tree with some location in it. The application I have in mind is generation of ocaml file what should use the line directive for error to point in the original file.
I would add
tree_with_loc
andtrees_with_loc
similar totree
andtrees
.If you assign me, I will submit a PR ASAP.