1,157 reputation
41233
bio website
location
age
visits member for 3 years, 1 month
seen 2 days ago

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
}

Jun
15
asked How can I keep track of the programs that have been used to edit a file?
Jun
10
asked Is there a Windows keyboard shortcut to combine accent marks with other characters?
May
23
asked How can I find the terminal command to run a specific program in Windows 7?
May
8
asked Adding a file to the scan exclusion list in Avast Antivirus
Apr
10
asked Block offensive images from all sites in Google Chrome
Mar
28
asked Find recently created folders in Windows
Mar
13
asked Disconnect all computers that are signed in to my Google Account
Feb
18
asked Automatically hibernate Google Chrome tabs
Feb
17
asked Allow anyone to download any file from my computer
Feb
10
asked Is it possible to set Google Docs as the default text editor on Windows?
Feb
1
answered Cross Platform shortcuts
Jan
18
answered How to create cross-platform Internet shortcut files
Jan
18
asked How to create cross-platform Internet shortcut files
Jan
17
asked Is it possible to synchronize an entire Windows 7 installation between multiple computers?
Jan
10
asked Is it possible to enable automatic error highlighting in Geany?
Jan
5
asked Convert Linux symlinks to Windows symlinks
Jan
2
asked How can I search all of my computers from one computer?
Dec
31
asked How can I open the previous page in a new tab in Google Chrome?
Dec
31
answered How can I open the previous page in a new tab in Google Chrome?
Dec
31
asked Change AeroFS folder location