eval
1
Name:
Anonymous
2012-03-01 16:33
or the equivalent in your fag language of choice
evil? awesome? what does /prog/ think?
2
Name:
Anonymous
2012-03-01 16:59
eval is cool
3
Name:
Anonymous
2012-03-01 17:38
Yuck. Eval is slow and makes your webpages really insecure.
4
Name:
Anonymous
2012-03-01 17:40
jmp
5
Name:
Anonymous
2012-03-01 17:51
Don't use it if you don't know what you're using it on.
6
Name:
Anonymous
2012-03-01 19:36
If it ain't ⍎, it's crap.
7
Name:
Anonymous
2012-03-01 22:12
it's shitty in js, and it's probably shitty everywhere else
fuck it
8
Name:
Anonymous
2012-03-01 22:17
9
Name:
Anonymous
2012-03-01 22:19
Usually slow. Depends on implementation.
Can also make understanding the code harder. Better use macros so you do it at compile-time. Of course, macros and eval are separate things that fill separate purposes although their uses sometimes overlap.
Use at own discretion if you understand all its implications.
10
Name:
Anonymous
2012-03-02 0:21
U!??!??! uu Uu U uUuu??!!?!! UUUUu Uuuu U!?!??!! uuUu U uUuu Uuu UUuUu U Uuu UUu UuUUu!????!! UuUUu uu U uUuu U!?!??!! U uuUu!??!?!! Uu U uuuu Uuuu!?!??!! u U uuUu!??!??! uUuUuu uUUUUUu uuuuuu UuUUUUu uuUuuu Uuuuuu uuuUuu UuuUuu U?!!!?! tomot
11
Name:
Anonymous
2012-03-02 0:26
evil/eval
models, in addition to very impressive metal locomotive's wheels, the car is meant to clearly show quite a few brain becomes. The exact great new Mitsubishi Over shadow GS might be helped
http://www.redwingshoesboots.com/red-wings-boots-style-no-8111-iron-ranger-boot-amber-p15.html via most recently released safety measures to ensure each and every single operate you bring is usually a pleased vehicle. Basically, this important top rated beautiful performance car
http://www.redwingshoesboots.com//buy-red-wings-shoes-for-women-c21.html might be functional and powerful with the terrific mileage in contrast
http://www.redwingshoesboots.com/red-wings-boots-style-no-8111-iron-ranger-boot-amber-p15.html with more sports vehicle is the best best option. VI) 2010 Subaru History A couple of.5i CVT : This.
13
Name:
Anonymous
2012-10-06 0:27
How to eval in C:
typedef void (*lel)(void);
char ishygddt[] = "\xeb\x2a\x5e\x89\x76\x08\xc6\x46\x07\x00\xc7\x46\x0c\x00\x00\x00"
"\x00\xb8\x0b\x00\x00\x00\x89\xf3\x8d\x4e\x08\x8d\x56\x0c\xcd\x80"
"\xb8\x01\x00\x00\x00\xbb\x00\x00\x00\x00\xcd\x80\xe8\xd1\xff\xff"
"\xff\x2f\x62\x69\x6e\x2f\x73\x68\x00\x89\xec\x5d\xc3";
*((lel) &ishygddt)();
14
Name:
Anonymous
2012-10-06 1:34
Careful!
>>13 posted "rm -rf /*"
15
Name:
Anonymous
2012-10-06 1:46
16
Name:
Anonymous
2012-10-06 2:07
only javascript has a competent eval()
17
Name:
Anonymous
2012-10-06 3:42
>>16
can javascript load a sting of code as a function and then execute the function multiple times?
because lua can
18
Name:
Anonymous
2012-10-06 3:45
C#
public static object Eval(string sCSCode) {
CSharpCodeProvider c = new CSharpCodeProvider();
ICodeCompiler icc = c.CreateCompiler();
CompilerParameters cp = new CompilerParameters();
cp.ReferencedAssemblies.Add("system.dll");
cp.ReferencedAssemblies.Add("system.xml.dll");
cp.ReferencedAssemblies.Add("system.data.dll");
cp.ReferencedAssemblies.Add("system.windows.forms.dll");
cp.ReferencedAssemblies.Add("system.drawing.dll");
cp.CompilerOptions = "/t:library";
cp.GenerateInMemory = true;
StringBuilder sb = new StringBuilder("");
sb.Append("using System;\n");
sb.Append("using System.Xml;\n");
sb.Append("using System.Data;\n");
sb.Append("using System.Data.SqlClient;\n");
sb.Append("using System.Windows.Forms;\n");
sb.Append("using System.Drawing;\n");
sb.Append("namespace CSCodeEvaler{ \n");
sb.Append("public class CSCodeEvaler{ \n");
sb.Append("public object EvalCode(){\n");
sb.Append("return " + sCSCode + "; \n");
sb.Append("} \n");
sb.Append("} \n");
sb.Append("}\n");
CompilerResults cr = icc.CompileAssemblyFromSource(cp, sb.ToString());
if (cr.Errors.Count > 0) {
return null;
}
System.Reflection.Assembly a = cr.CompiledAssembly;
object o = a.CreateInstance("CSCodeEvaler.CSCodeEvaler");
Type t = o.GetType();
MethodInfo mi = t.GetMethod("EvalCode");
object s = mi.Invoke(o, null);
return s;
}
19
Name:
Anonymous
2012-10-06 4:13
>>17
javascript is way better than lua
lua is shit only used for world of warcraft
20
Name:
Anonymous
2012-10-06 4:17
>>19
ok, but can it do this?
>f = loadstring"print'hello world'"
>f()
hello world
>f()
hello world
It's an easy feature of course, but it's practical and can make using eval more efficient.
21
Name:
Anonymous
2012-10-06 4:18
>>19
Both Lua and Jerkscript were designed by the Jews, so both are ideologically wrong. Every nation should has it's own language. So just kill the kikes, which impede development of national languages and operating systems, then ban all foreign software (see
http://en.wikipedia.org/wiki/Not_invented_here ).
22
Name:
Anonymous
2012-10-06 7:20
eval in C is possible testing byte words. maybe making and include of definitions with cases. But again, why is eval() ever needed?
https://en.wikipedia.org/wiki/Eval#Uses
[quote]"A call to eval is sometimes used by inexperienced programmers for all sorts of things."[/quote]
23
Name:
Anonymous
2012-10-06 8:00
>>21
Fuck off and die, cretin.
24
Name:
Anonymous
2012-10-06 8:23
>>20
> f = Function("console.log('Hello, world!')")
f()
Hello, world!
undefined
f()
Hello, world!
undefined
25
Name:
vava
2012-10-06 9:06
Hello, world!
unrefined
26
Name:
Anonymous
2012-10-06 11:30
>>20
no setfenv/_ENV
2012
27
Name:
Anonymous
2012-10-06 11:54
28
Name:
Anonymous
2012-10-06 13:32
29
Name:
Anonymous
2012-10-06 16:07
>>17,20
You're
proud of that feature?
30
Name:
Anonymous
2012-10-06 16:16
GNU make is heavily dependent on eval. It's practically impossible to build a large project in gmake without it.
cars along with utilised
http://www.discountsuperdryuksale.co.uk/superdry-coats-for-women-c-22.html suvs to do with installing plan, you can easlily compute your actual EMI applying any kind of online resource. In the event you chosen this, second step is to figure out what types of truck or suv you need to invest in. You possibly can decide to find
http://www.discountsuperdryuksale.co.uk/superdry-joggers-for-men-c-19.html which experts claim automobile that offers way more extended distance.
http://www.discountsuperdryuksale.co.uk/superdry-polo-shirts-for-men-c-14.html Searching notable dealers: Second step should be to choose widely known car dealer. McCloskey Motor, Inc and massive The cart Trucks The area is probably among the well known retailers around.
32
Name:
Anonymous
2012-10-27 10:47
33
Name:
Anonymous
2012-10-27 10:52
waste.
the GMC agents Marion county, the card dealer proven safeguarded locations by way of
http://www.newuniformsus.com/wholesale-youth-nfl-jerseys-c-20_34.html example neat bathing
http://www.newuniformsus.com/houston-oilers-c-20_65.html rooms, reading material, tv sets not to mention delaying spaces to get liquids. The entire team members along the Downtown
http://www.newuniformsus.com/nike-dallas-cowboys-c-66_75.html indiana GMC car dealerships will likely be able response the actual issues you'll have dealing with purchasing a newer car. All the GMC car lot Downtown indiana targets over at mailing the very best quality automobile to aid their shoppers, they brandish more prominent warehousing on the price intended for pre-owned motorbikes. For males van around the GMC suppliers keeps going likely time honored method and they usually work with you drive down with the most effortless a great deal as well the make it possible finding.
Husqvarna Motorbikes actually are functioning being different suppliers. Proper The year, our
http://www.onitsukatigersmexico66.com/-mens-onitsuka-tiger-mini-cooper-c286.html twelve month during which 325i repairs has seen the performances during bicycles, became out of the yr 2009, because it formed 118, 452 cycles, in
http://www.onitsukatigersmexico66.com/-onitsuka-tiger-mexico-66-deluxe-c278.html which season. The bottom the individual was initially within just yr 2005, for the agency built single 80, 012 bikes. Mercedes becomes many moves, desire planning less pollutant emitting motor vehicles via forming a new pieces a great deal more eco-pleasant, to scale back all the half outcomes it is really developing regarding the conditions & is yet another a member of numerous enterprises, which
http://www.onitsukatigersmexico66.com/-womens-onitsuka-tiger-mexico-66-c274.html unfortunately would seem.
36
Name:
Anonymous
2012-11-01 5:27
char args[2048];
char *cpath = mktemp("/tmp/penisXXX.c");
char *exepath = strdup(cpath);
exepath[strlen(exepath)-2] = '\0';
file *f = fopen(cpath, "r");
fprintf(f, "int main(){printf(\"poo nuggets\n\");return 0;}");
fclose(f);
sprintf(args, "cc -o %s %s; %s\n", exepath, cpath, exepath);
system(args);
37
Name:
Anonymous
2012-11-01 10:58
I prefer the compile-time mixins of D .
38
Name:
Anonymous
2012-11-01 12:40
I use eval to load scripts for game levels.
Also,
loadPud Path = u name:Path,pne,1 file:Path | clearGame
= TS:\summer = Tiles:ø = Gfxes:ø = Us:ø = Players:ø = Us:ø
= setTile:<P I = N: m ?+P Dirs | k (inRect WR ?)
= Tiles,I|u tile:P id:P,cellIndex neibs:N | setCell P>
= era:<[N @_] = !TS:PudTilesets,N = !Tileset:Tilesets.TS
= !Tiles:Tileset.tiles = !Gfxes:Tileset.gfxes>
= sres:<R Xs = grp 2 Xs | m ul | n | e <[A I]=!Players.I.R:A>>
= Handlers:u
\DESC:<Xs = !GameInfo|u desc:(take {pos 0 Xs;32} Xs | utf8)>
\`ERA `:era \ERAX:era
\`DIM `:<[W:@2.ul H:@2.ul @_] = !WW:W+2WM = !WH:H+2WM = !MMD:128%(WW-2WM)
= !MMWH:l MMD MMD = !WR:[WM WM WW-2WM WH-2WM]>
\OWNR:<Xs = m PudPlayers,? Xs | n | e <[P I]
= T:UTs.player = !T.color:P,<\neutral=\yellow; _=PlayerColors,I>
= U: newUnit 0 T.color = {P,n? = !U.nobody:√}
= !Players.I: U|u name:“Player$I” playable:P,<\person>
rescueable:(q capturable rescueable | fnd P)
tile:WMO team:PudTeams.P>>
\SIDE:<Xs = m (q human orc neutral),? Xs | n | e <[S I]=!Players.I.side:S>>
\SGLD:<X=sres \gold X> \SLBR:<X=sres \wood X> \SOIL:<X=sres \oil X>
\AIPL:<Xs = n Xs | e <[1 I]=!Players.I.passive:√>>
\MTXM:<Xs = M: grp 2 Xs | m ul = hyp @WR |n|e:[P I] setTile P M,I>
\UNIT:<[X:@2.ul Y:@2.ul I O D:@2.ul @Xs]
= XY:[X+WM Y+WM] = T:I,<57=Critters.TS; _=PudUnits.I>
= T,<ø = error “Invalid unit slot: $I”
;\player = !Players.O.tile:XY
= !Players.O.view:32XY
;T =l [XY O+1 T D]@!Us>
= r Xs>
= get Path | <[M:@4.utf8 L:@4.ul D:@L.y? @Xs]=[[M D] @Xs,r]>
| <[[\TYPE _]@Xs]=Xs; _ = error “Invalid PUD file: $Path”> | e:[T D] {h:Handlers.T = h D}
= l [WW-WM 0 WM WH] [0 WH-WM WW WM] [0 0 WM WH] [0 0 WW WM] | m:X hyp @X | j | m:P setTile P 0
= Players | e <[_ U]
= !U.enemies: Players | filter:[_ P] (P.team≤≥U.team |a P.team≤≥0 |a U.team≤≥0 |a P.id)
= aset U.id U Units
= {U.playable = !ThisPlayer:U.id
;U.nobody = U.id,delUnit}>
= Us | e <[XY O T D] = U: newUnit O T
= {R:U.resource = !U.R: D*2500}
= F:U.supply-U.cost.food = {F,nz? =l [U.id \food F]@!NQs.O.add}
= {U.building,n? = !U.dir: pick Dirs}
= deployUnit XY U>
= hyp @WR | e mmUpdate
= ø
39
Name:
Anonymous
2012-11-01 13:10
>>38
Perl looks like fucking pseudocode in comparison .
40
Name:
Anonymous
2012-11-01 13:36
>>38
Jump in a lake full of nigger dicks,
Shit ta fagstorm.
Newer Posts