ts2c icon indicating copy to clipboard operation
ts2c copied to clipboard

Convert Javascript/TypeScript to C

Results 40 ts2c issues
Sort by recently updated
recently updated
newest added

Bumps [shell-quote](https://github.com/substack/node-shell-quote) from 1.6.1 to 1.7.3. Release notes Sourced from shell-quote's releases. v1.7.2 Fix a regression introduced in 1.6.3. This reverts the Windows path quoting fix. (144e1c2) v1.7.1 Fix $...

dependencies

Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. Commits 7efb22a 1.2.6 ef88b93 security notice for additional prototype pollution issue c2b9819 isConstructorOrProto adapted from PR bc8ecee test from prototype pollution PR See full...

dependencies

Log generated after running `npm install -g ts2c` ``` 0 info it worked if it ends with ok 1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'install', '-g', 'ts2c' ] 2 info...

Bumps [cached-path-relative](https://github.com/ashaffer/cached-path-relative) from 1.0.2 to 1.1.0. Commits See full diff in compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=cached-path-relative&package-manager=npm_and_yarn&previous-version=1.0.2&new-version=1.1.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...

dependencies

I changed the example of #74 from this ``` function return_from_obj(){ let obj = {key:1}; return obj.key; } console.log(return_from_obj()); ``` to ``` let temp; function return_from_obj(){ let obj = {key:1};...

bug

When I compile this JavaScript program to C, it prints `0` instead of `1`. This appears to be due to a memory allocation bug, where the `obj` variable is freed...

bug

Using the `README.md` example as starting point: ``` var obj = { key: "hello" }; obj["newKey"] = "test"; console.log(obj); ``` If we add the `newKey` property after the `console.log`, it...

For some reason, don't know if it happens on mobile only devices as I didn't test it out on a computer yet. But when you delete something you've wrote, autocomplete...

ts2c often produces incorrect output from JavaScript programs that contain syntax errors. When I try to compile this program: `console.log("This shouldn't compile."); ( (` ts2c produces this program, which also...

![image](https://user-images.githubusercontent.com/14955162/61672453-4ba7fc80-acb1-11e9-870e-b383e416a07f.png)