fkling / fkling/astexplorer

Support for receiving query params from other apps

Open
#454 6 comments 3 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
6.5k
Forks
772
PR merge metrics
No merged PRs in 30d

Description

**Describe the feature**

Hi, I'd like to add a "Send to AST Explorer" feature to the TypeScript playground

![Screen Shot 2019-11-05 at 3 46 51 PM](https://user-images.githubusercontent.com/49038/68244762-8117f200-ffe3-11e9-8ac0-2c5e0568f644.png)

Which means doing something a bit [like this PR](https://github.com/dsherret/ts-ast-viewer/pull/59) which added support for receiving a gzipped string in the URL. E.g. something like?

```
https://astexplorer.net/?lang=JavaScript&parser=typescript#code/MYGwhgzhAEBiD29oEsC2AHEBTVWB2ALjAJIJIDeAUNNOgE7IBuYBW0AHgFzR4CuqAIyx1oAXmgBGANzVoweHggE6vYAXh0AFAEpo5aAF9ZAsFu3dG8ZABM9smjQIALOvADuPLB4CidV1oAiAFksZ3hbPHgCFAxsXEIsawA6AO0ZGiMjIA
```
---

I realize that AST explorer is _considerably_ more complex than TS AST viewer because of all the other languages and parsers you support. Thus an issue for discussion rather than a PR. What do you think?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.