dynamic-compilation Questions
9
Solved
I was wondering if it is possible to save C# code fragments to a text file (or any input stream), and then execute those dynamically? Assuming what is provided to me would compile fine within any M...
Dayflower asked 5/5, 2009 at 18:55
10
Solved
In the sake of debugging purposes, can I get the line number in C/C++ compilers?
(standard way or specific ways for certain compilers)
e.g
if(!Logical)
printf("Not logical value at line number %...
Vange asked 17/5, 2010 at 14:25
9
Solved
Here's what I want to do:
$clsName = substr(md5(rand()),0,10); //generate a random name
$cls = new $clsName(); //create a new instance
function __autoload($class_name)
{
//define that instance d...
Vegetal asked 29/7, 2009 at 23:24
1
Solved
I'm trying to compile code at runtime in C#, then from the compiled code call a function or initialize a class which is defined in the original code.
The code I currently have:
using System;
usi...
Wolf asked 12/4, 2016 at 19:50
5
Solved
I have a very wired error, one of my custom controls seems that is create two compiled files, and when I try to load it dynamically with LoadControl() is just fail because can not cast the one to t...
Issiah asked 10/2, 2013 at 10:0
3
Solved
General question:
Can I invoke the current racket executable from within a running Racket script?
Basically, I'd like a replacement for (system "racket ...") in the case that (find-executable-pat...
Rosellaroselle asked 13/12, 2015 at 2:11
0
I've been playing around with the plugins package. I want a host application to dynamically compile and load Haskell source files in a sandboxed environment. Compilation works just fine. Loading fa...
Richart asked 25/3, 2015 at 17:47
2
Solved
I have been trying to get some basic dynamic code compilation working using the GHC API by following a tutorial found here.
This code:
import GHC
import GHC.Paths
import DynFlags
import Unsafe.Co...
Wystand asked 8/10, 2012 at 9:45
1
I am currently working on a haskell program which takes a users input from a text box, then
compiles and loads it using the System.Plugins library in order to extract a picture to draw to the scree...
Kirschner asked 14/1, 2013 at 1:9
1
I'm building an MVC 3 application where MEF is used. The main idea is to have plug-in mechanism where models, controllers and views are loaded dynamically during runtime from mef container.
Each p...
Bleak asked 27/11, 2011 at 12:16
1
Following the GHC tutorial posted here and alterations to this code following the advice in a previous stack overflow question I asked, I have created a program which is able to compile and run a m...
Our asked 8/10, 2012 at 22:26
3
Solved
My dynamic compilation in Java 6 is working perfectly. However, I would like to change the output path. I have tried tons of things (I'll spare you) to no avail. Anyway, here's the working code
St...
Causation asked 8/1, 2010 at 14:32
1
Solved
Using .NET 2.0.
System.Drawing is in my References list.
Here is my using statement:
using System.Drawing;
Here is the code:
private static Rectangle rScreen;
Here is the error on this line...
Gerry asked 16/5, 2011 at 17:37
1
Solved
I have a plug-in vector established using System.AddIn that accepts the body of a pre-defined method, munges the method body into boilerplate code, generates the assembly and executes the method.
...
Frore asked 7/3, 2010 at 12:3
2
Solved
Assuming the code below:
public class DynamicAspxHandler : IHttpHandler {
bool IHttpHandler.IsReusable { get { return false; } }
void IHttpHandler.ProcessRequest(HttpContext httpContext) {
str...
Isagogics asked 23/11, 2009 at 5:35
3
Solved
Are there any options other than Janino for on-the-fly compiliation and execution of Java code in v5? I know v6 has the Compiler API, but I need to work with the v5 VM.
I essentially need to take ...
Daisey asked 19/2, 2009 at 17:5
3
I have recently begun working with AJAX-Enabled WCF, and have been plagued with this .NET caching issue - Could not load file or assembly App__Web__hamznvwf
I was having issues with this 4 to 5 ti...
Asaph asked 8/1, 2009 at 16:53
1
© 2022 - 2024 — McMap. All rights reserved.