Skip to content
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

Hi, Haskell support? #7286

Closed
1 of 17 tasks
jaypowers opened this issue Sep 24, 2024 · 4 comments
Closed
1 of 17 tasks

Hi, Haskell support? #7286

jaypowers opened this issue Sep 24, 2024 · 4 comments

Comments

@jaypowers
Copy link

Increasing access

Hi, I'm no elietest Haskell developer, lol. Maybe I'll add an addon eventually. Not a parser for Haskell, but I'd like to contribute something like Haskell+p5js. It's beyond me, but LaTeX support in some relationship to this would be really cool. Lastly, LaTex+Haskell+p5js???

Most appropriate sub-area of p5.js?

  • Accessibility
  • Color
  • Core/Environment/Rendering
  • Data
  • DOM
  • Events
  • Image
  • IO
  • Math
  • Typography
  • Utilities
  • WebGL
  • Build process
  • Unit testing
  • Internationalization
  • Friendly errors
  • Other (specify if possible)

Feature request details

If I can, and I probably can't. I'd love love love to add a Haskell parser, ie. "let code = "". I realize this particular thing may not be possible, at least not for me. Any suggestions (except just "link a haskell.js") I'd love to hear.

Copy link

welcome bot commented Sep 24, 2024

Welcome! 👋 Thanks for opening your first issue here! And to ensure the community is able to respond to your issue, please make sure to fill out the inputs in the issue forms. Thank you!

@davepagurek
Copy link
Contributor

This feels like maybe a good fit for a p5 addon library rather than a core feature. Has anyone made a JavaScript library to evaluate a string of haskell code? if so, your p5 addon would probably have to do that. If it has some way to expose outside js functions to the Haskell, your addon would have to grab the p5 functions and pass those in.

For LaTeX support, @nickmcintyre made this test before that might be of interest: https://editor.p5js.org/mcintyre/sketches/wpmxTA50u

@jaypowers
Copy link
Author

jaypowers commented Sep 24, 2024 via email

@davepagurek
Copy link
Contributor

Since this won't be a core feature, I'm going to close this issue for organizational purposes, but we have a p5 discord you can join if need any advice while making the library, or need any debugging help! https://discord.gg/SHQ8dH25r9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants