mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2025-12-27 10:33:59 -05:00
Add Elixir language support (#6081)
Hi, I am adding support for the Elixir language (https://github.com/compiler-explorer/compiler-explorer/issues/3947) I have done this so far. It is not perfect but at least is something I can work with. In Elixir you can write several modules in the same file, so I show the different compile utins as a list. It works locally but I don't know how to add the Elixir language to [infra](https://github.com/compiler-explorer/infra/) Some notes: - I think Elixir's macro system may be a potential security issue because I can run code during compilation. - The decompiled code contains a reference to the file path on the system machine. 
This commit is contained in:
@@ -79,6 +79,7 @@ const plugins: Webpack.WebpackPluginInstance[] = [
|
||||
'solidity',
|
||||
'scheme',
|
||||
'objective-c',
|
||||
'elixir',
|
||||
],
|
||||
filename: isDev ? '[name].worker.js' : `[name]${webpackJsHack}worker.[contenthash].js`,
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user