Title: Define parsers outside of TAG for use within it · Issue #41 · CreativeCodingLab/TextAnnotationGraphs · GitHub
Open Graph Title: Define parsers outside of TAG for use within it · Issue #41 · CreativeCodingLab/TextAnnotationGraphs
X Title: Define parsers outside of TAG for use within it · Issue #41 · CreativeCodingLab/TextAnnotationGraphs
Description: It would be convenient to define parsers outside of TAG for use within it. This would allow users to easily adjust the behavior of a parser for an evolving format (ex. https://github.com/lum-ai/odinson). Plan To support this we'd need to...
Open Graph Description: It would be convenient to define parsers outside of TAG for use within it. This would allow users to easily adjust the behavior of a parser for an evolving format (ex. https://github.com/lum-ai/odi...
X Description: It would be convenient to define parsers outside of TAG for use within it. This would allow users to easily adjust the behavior of a parser for an evolving format (ex. https://github.com/lum-ai/odi...
Opengraph URL: https://github.com/CreativeCodingLab/TextAnnotationGraphs/issues/41
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Define parsers outside of TAG for use within it","articleBody":"It would be convenient to define parsers _outside_ of TAG for use within it. This would allow users to easily adjust the behavior of a parser for an evolving format (ex. https://github.com/lum-ai/odinson).\r\n\r\n\r\n### Plan\r\n- To support this we'd need to discuss how a custom parser should be registered with TAG. Perhaps it should be passed in the config object (ex. `{\"odin\": mycustomParseFunction}`, where `mycustomParseFunction` returns `data`.)\r\n\r\n- The `Parser` constructor and helper functions in `parse/parse.js` will also need to be modified to work over a dynamic set of parsers instead of (or in addition to) the statically-defined ones TAG currently supports.\r\n\r\nThe parser system as currently written is based on classes, and `Parser` reads directly from each parser object's `.data` (e.g., from `this.odin.data` in the `parseOdin()` function) property. We may want to consider switching to a purely functional approach to support custom parsers.","author":{"url":"https://github.com/myedibleenso","@type":"Person","name":"myedibleenso"},"datePublished":"2019-04-03T17:39:21.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/41/TextAnnotationGraphs/issues/41"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:4d6984a3-701b-7983-6158-cef3cb0792d8 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8454:7DFC8:613E914:8330D5B:698CAE03 |
| html-safe-nonce | 9c2aede12946ceded0b60f377d4d3579b52e62a370bb384a9d95d0ac60321752 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NDU0OjdERkM4OjYxM0U5MTQ6ODMzMEQ1Qjo2OThDQUUwMyIsInZpc2l0b3JfaWQiOiI1MzA5NTAzMzkyNzMyNDU4NDk5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | e67de43bbd184fce8e9bfae71a14c406e70cae8ebec466a8ea804de81d1aa198 |
| hovercard-subject-tag | issue:428891827 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/CreativeCodingLab/TextAnnotationGraphs/41/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1e53db25806d144da443b358edac3b0b0162f28ab4ee42372c9bda9f76dcab62/CreativeCodingLab/TextAnnotationGraphs/issues/41 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1e53db25806d144da443b358edac3b0b0162f28ab4ee42372c9bda9f76dcab62/CreativeCodingLab/TextAnnotationGraphs/issues/41 |
| og:image:alt | It would be convenient to define parsers outside of TAG for use within it. This would allow users to easily adjust the behavior of a parser for an evolving format (ex. https://github.com/lum-ai/odi... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | myedibleenso |
| hostname | github.com |
| expected-hostname | github.com |
| None | 640eeb7b6ff4d8d106235d228c0c286e82592d4d2403227b5b2b4fc5832297a4 |
| turbo-cache-control | no-preview |
| go-import | github.com/CreativeCodingLab/TextAnnotationGraphs git https://github.com/CreativeCodingLab/TextAnnotationGraphs.git |
| octolytics-dimension-user_id | 4239611 |
| octolytics-dimension-user_login | CreativeCodingLab |
| octolytics-dimension-repository_id | 78243004 |
| octolytics-dimension-repository_nwo | CreativeCodingLab/TextAnnotationGraphs |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 78243004 |
| octolytics-dimension-repository_network_root_nwo | CreativeCodingLab/TextAnnotationGraphs |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3d444f0a47beeeac94cddbb51c91ab408befe8d4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width