Skip to content

Instantly share code, notes, and snippets.

View sangupta's full-sized avatar
💭
I may be slow to respond.

Sandeep Gupta sangupta

💭
I may be slow to respond.
View GitHub Profile
@sangupta
sangupta / main.go
Last active June 28, 2023 03:54
Parse Typescript code in Go lang using QuickJS. The idea is to re-use the original Typescript library than rolling out a parser of our own.
package main
import (
"errors"
"fmt"
"io/ioutil"
"time"
stdruntime "runtime"
@sangupta
sangupta / main.go
Created April 27, 2022 05:50
Parse Typescript code in Go lang using v8go. The idea is to re-use the original Typescript library than rolling out a parser of our own.
package main
import (
"fmt"
"io/ioutil"
v8 "rogchap.com/v8go"
)
func main() {