Background  I've been using the C preprocessor to manage and "compile" semi-large javascript projects with multiple files and build targets. This gives full access to C preprocessor directives like #include, #define, #ifdef, etc. from wit...
i did everything handled. but no luck it is returning "undefined" data. i tried many differnt ways to get data from this site. not successful. I posted this in other forums no one able to solve this to handle full data extract.  i need data s...
Using Acrobat Professional 9.0 I added a Page Open action to Execute Menu Item: File->Exit.  However, when I open the page I get the popup: "This action cannot be performed".  I tried enabling all security checkboxes in Preferences I could...
I have stumbled into several methods of looping in JavaScript, what I like the most is:  for(var i = 0; i < a.length; i++){     var element = a[i]; }   But as tested here (http://www.robertnyman.com/2008/04/11/javascript-loop-performance/), it sho...
I'm brand new to Sweet.js. My first simple macro is the following  macro test {   rule {     $className($entityName)   } => {     function test$className()     {       console.print("$className");       console.print("$entityName&#...
One of the items on my TODO list is creating a fun coding language that 'compiles' to JavaScript. I would like to try out Sweet.js for this, but I'm wondering if it is possible to write a rule that targets keywords that are before the rul...
I've written a Scheme-ish language compiler/vm in JavaScript. http://github.com/z5h/zb-lisp Dybvig's "Three Scheme Implementations" paper (available on my github) was hugely important in getting stuff like tail-call-optimization, call...
Ok, so I'm trying to scrape some information from a website to try and interpret a value like 11/22 [50%].  I can guarantee the value will be at least the minimum required by the size of the substring.  So far the code works to find the data, ext...
Do there exist comprehensive regular expressions that, when applied to JavaScript source code, will match all valid string literals (such as "say \"Hello\"") and regex literals (such as /and\/or/)? The expressions would have to cover...
I'm currently a student in Software Engineering, and I'm trying to create a small program (I don't know if the word "macro" is appropriate for it) in HTML or JavaScript, to fill a form from a webpage.  The webpage has the followin...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.