Lama2 icon indicating copy to clipboard operation
Lama2 copied to clipboard

Export l2 file into cURL, Python, JS, etc

Open shrsv opened this issue 2 years ago • 0 comments

It'll be super handy to have an option to generate Python/JS/Other code from .l2 specifications.

curlconverter seems like a nice JS project which can generate code in multiple languages, given a curl input. So, then, the subproblems become:

  1. Create cURL from .l2
  2. Use goja VM to load curlconverter
  3. Pass the new curl command to curlconverter, to get code in various languages
  4. Add UI support in VSCode extension

shrsv avatar Feb 05 '23 05:02 shrsv