1,147 reputation
41231
bio website
location
age
visits member for 3 years, 1 month
seen Jul 5 at 13:41

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
}

Sep
26
accepted My Google Chrome extensions have all stopped working
Sep
1
accepted How to create cross-platform Internet shortcut files
May
23
accepted How can I find the terminal command to run a specific program in Windows 7?
Apr
27
accepted Seamless mode for remote desktop software
Apr
10
accepted Block offensive images from all sites in Google Chrome
Apr
9
accepted pdf - Get current page number in Google Chrome
Mar
13
accepted Disconnect all computers that are signed in to my Google Account
Feb
17
accepted Allow anyone to download any file from my computer
Jan
8
accepted Is it possible to synchronize userscripts between Google Chrome installations?
Jan
3
accepted Always open URLs from a pinned tab in a new window
Jan
2
accepted See waiting print jobs for Google Cloud Print
Dec
15
accepted Clear HTML5 local storage on a specific page
Dec
7
accepted Automatically pin Google Chrome tabs with specific URLs
Nov
26
accepted All of my Chrome extension buttons have disappeared
Nov
15
accepted Live USB boot within an existing virtual machine
Oct
10
accepted Text folding in OpenOffice Writer
Oct
10
accepted Do any Javascript IDEs support automatic error highlighting (like the Eclipse Java IDE)?
Oct
10
accepted Generate a visual representation of a graph (graph theory)
Oct
10
accepted Quickly switching between programs when editing or viewing a file
Oct
10
accepted Synchronize “purple links”