theory
Can regexes containing nongreedy (reluctant) quantifiers be rewritten to use only greedy ones?
Suppose I have a regex language supporting literals, positive and negative character classes, ordered alternation, and the greedy quantifiers ?, *, and +. (This is essentially a subset of PCRE without[详细]
2023-03-21 14:42 分类:问答ID based NPC system
I have a bunch of开发者_C百科 different npcs. They all have different properties and different AI, so I have made a separate class for each type, and derive it from a base class Entity. I want to make[详细]
2023-03-20 16:58 分类:问答Is 'window' really global in JavaScript?
Take this piece of JavaScript code in a browser: <script> console.log(window.someThing); var x = 12;[详细]
2023-03-20 12:41 分类:问答MVC: Telling the controller to stop
I\'m experimenting with javascript and MVC models. I want to (simplified example) move an object across the screen a random number of pixels between 1 and 10 and then have it stop when it gets to, say[详细]
2023-03-20 08:03 分类:问答Distributing changes to an existing SWF application theory
Lets say we have an online application written in AS3 and served from a server as a SWF. The first version to go out is V1.0.[详细]
2023-03-19 18:52 分类:问答What is a language construct? How (theoreticaly) it is being implemented in C?
I am familiar with how PHP functions are mapped to functions in C in the C code beneath PHP. I know in C what a function means and what a MACRO() means.[详细]
2023-03-19 12:30 分类:问答Using IS NULL or IS NOT NULL on join conditions - Theory question
Theory question here: Why does specifying table.field IS NULL or table.field IS NOT NULL not work on a join condition (left or right join for instance) but only in the where condition?[详细]
2023-03-19 04:09 分类:问答Why are some programming languages faster than others?
I know that ASM is basically the fastest one can get, but is what makes HLLs slower than ASM the abstraction? What I mean by abstraction is that for instance in C++ you have a class, data needs to be[详细]
2023-03-18 08:16 分类:问答Aggregate/Extrapolate sparse samples in multi-dimensional space
Imagine there is a function which evaluates the elevation of a surface given a floating point x and y coordinate (and additional components in accordance with dimensionality):[详细]
2023-03-16 19:32 分类:问答Javascript Ajax prototype in existing Framework
I currently write quite a bit of code in ASP.NET MVC and use jQuery quite a bit also to make ajax calls to Actions that return json.[详细]
2023-03-16 10:22 分类:问答
加载中,请稍侯......