react-use-c icon indicating copy to clipboard operation
react-use-c copied to clipboard

Use template literals

Open KritR opened this issue 2 years ago • 1 comments

The c code should compile within template literals.

const output = c_lang`
#include <stdio.h>

int main()
{
 ....
}
... 
`

KritR avatar Oct 28 '23 23:10 KritR

But that would be compatible with other bundlers! We MUST invent our own syntax

elnardu avatar Oct 28 '23 23:10 elnardu