I'm the author of a natural language programming tool called EngScript, which automatically translates English sentences into Python source code.

For reference, I've posted a link to questions with tags that I'm interested in.

Right now, I'm searching for a parser that can handle ambiguous grammars.

In theory, it would be possible to represent JavaScript code using Polish notation:

def sum , foo , bar baz {
    ; var theSum + foo + bar baz
    ; = return theSum
}

for var i 0 < i 10 ++ i {
    ; print sum 5 5
}

foreach current [ , 1 , 2 3 ] {
    ; print current
}

In theory, it would also be possible to create a very concise programming language with implicitly defined parameters:

isDivisibleBy: (foo % bar) == 0
//This is a function with 2 parameters: foo and bar.

isEven: isDivisibleBy(foo, 2)

isOdd: !isEven(param1)

firstCharacter: theString[0]

lastCharacter: theString[theString.length - 1]

firstNCharacters: theString[0:end]

firstCharacterIsLastCharacter: firstCharacter(stringParameter) == lastCharacter(stringParameter)

printEach: for current in anArray{ print current }

http://rosettacode.org/ is one of the most comprehensive programming language references I've ever found.

Optionally-typed programming languages are really awesome: they combine the type safety of languages like Java with the conciseness of languages like Python.

Some cool things that I've made:

Someday, I hope it will be possible to create a programming language that mixes code from different languages into a single file, like this:

Python {
    def foo():
        return "foo"
}
Ruby {
    def bar
        return foo + " was called from Python."
    end
}
33m
awarded Nice Question
Aug
23
awarded Popular Question
Aug
20
awarded Popular Question
Aug
20
comment Python only use fixed idle cpu power
Also, which operating system(s) is this question relevant to?
Aug
20
comment Python only use fixed idle cpu power
Which language would the other script be running in?
Aug
19
comment How can I scrape sourcecode of a web page, in JavaScript?
There are lots of ways to scrape web pages in JavaScript. See here: stackoverflow.com/search?q=web+scraping+javascript
Aug
19
comment Can I have macros in Java source files
possible duplicate of Java: Is there support for macros?
Aug
19
comment One language to rule them all? (Them being platforms.)
See the answers to this question: How can I write a set of functions that can be invoked from (almost) any programming language?
Aug
19
comment running perl script with python
There's a typo in the first Perl script.
Aug
19
revised running perl script with python
code formatting
Aug
19
comment How to get selected row from a table in html using javascript?
stackoverflow.com/questions/5142422/…
Aug
18
comment Create a Json from a tuple - python
It would be possible to generate a dictionary using a list comprehension, as described here: stackoverflow.com/questions/1747817/…
Aug
18
comment Create a Json from a tuple - python
It would be easier to use Python list comprehensions instead of for-loops.
Aug
16
comment How do I check if the Javascript global object has been tampered with?
@MikeCheel Are you referring to jslint?
Aug
12
awarded Notable Question
Aug
11
comment Check if a REBOL string contains another string
Also, there is a function to count the number of occurrences of one string in another string: rebol-land.blogspot.com/2013/12/…
Aug
11
accepted Check if a REBOL string contains another string
Aug
11
asked Check if a REBOL string contains another string
Aug
11
comment Javascript JSON conversion
@JosephSilber I'm confused: why do we need to use hasOwnProperty here?
Aug
11
comment Javascript JSON conversion
If you obtain a list of keys for this dictionary, then the solution will be straightforward: stackoverflow.com/questions/3068534/…
1 2 3 4 5