In C2, the "values" could be global variables.
If you want, you can pass them out of your application through an AJAX call for example, but AJAX will be "limited" to communicating with a webserver.
It still appears as something strange to do.
A compiler is something that changes code into an executable application.
Why would you pass the value of HTML5 variables to a compiler ?