solidity-docgen
solidity-docgen copied to clipboard
Add option to use native solc
We currently use solcjs. As discussed in #17, though, solcjs does not work with sufficiently big projects.
We should also add support for native solc.
So any progress on this? I also wonder if it works on windows, since I'm struggling with solc.exe right now - it fails with
'--solc-module=C:/Solidity/solc-076.exe',
...
Error: SyntaxError: Invalid or unexpected token
at Object.<anonymous> (C:\Users\pzixe\Documents\Repos\uniswap-v3-core\docify.js:72:11)
at Module._compile (node:internal/modules/cjs/loader:1108:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1137:10)
at Module.load (node:internal/modules/cjs/loader:988:32)
at Function.Module._load (node:internal/modules/cjs/loader:828:14)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:76:12)
at node:internal/main/run_main_module:17:47
--solc-module only works with solc installed from npm.
Native solc is not supported at the moment.
Well, it's a bit underwhelming. Anyway, thanks for a quick answer I won't waste my time on trying to figure out what's wrong - I though it should be my mistake.