1,177 reputation
41235
bio website
location
age
visits member for 3 years, 2 months
seen Aug 16 at 20:46

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
}

Oct
13
revised How to create cross-platform Internet shortcut files
Better title
Sep
1
revised Virtualbox sometimes freezes when powering off a virtual machine
added 204 characters in body; edited title
Sep
1
revised How to create cross-platform Internet shortcut files
deleted 1 characters in body
Aug
27
revised How can I sync my clipboard across multiple computers?
edited tags
Jun
15
revised How can I keep track of the programs that have been used to edit a file?
edited title
Jun
10
revised Is there a Windows keyboard shortcut to combine accent marks with other characters?
added 20 characters in body
Jun
4
revised How to create cross-platform Internet shortcut files
added 25 characters in body
May
23
revised How can I find the terminal command to run a specific program in Windows 7?
edited title
Apr
27
revised Seamless mode for remote desktop software
deleted 2 characters in body
Apr
10
revised Block offensive images from all sites in Google Chrome
spelling some grammar
Mar
13
revised Disconnect all computers that are signed in to my Google Account
added 89 characters in body
Feb
17
revised Allow anyone to download any file from my computer
added 190 characters in body
Feb
1
revised Cross Platform shortcuts
added 207 characters in body
Jan
18
revised How to create cross-platform Internet shortcut files
added 1 characters in body
Jan
7
revised Convert Linux symlinks to Windows symlinks
better wording
Jan
7
revised Convert Linux symlinks to Windows symlinks
added 220 characters in body (clarified confusing phrases)
Jan
7
revised Convert Linux symlinks to Windows symlinks
added 220 characters in body
Jan
2
revised How can I search all of my computers from one computer?
added 11 characters in body
Dec
28
revised How can I view the contents of each partition in GParted?
added 218 characters in body
Nov
12
revised Virtualbox sometimes freezes when powering off a virtual machine
added 144 characters in body