799 reputation
523
bio website
location
age
visits member for 2 years, 3 months
seen Aug 15 at 3:24

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
}

Jul
6
awarded  Popular Question
Jul
2
awarded  Inquisitive
Jul
2
awarded  Curious
May
15
awarded  Yearling
Mar
27
awarded  Notable Question
Mar
21
awarded  Popular Question
Mar
7
awarded  Popular Question
Mar
4
comment Find when a phrase was added to a Wikipedia page
@fNek See the answer below: you can use WikiBlame to find when a word or phrase was added to a page.
Feb
7
comment Is it possible to turn off Google Search's word filter?
Additionally, I've noticed that typing the word "marijuana" only shows search suggestions for "marijuana's effects on the brain", while hiding all other search suggestions.
Feb
7
revised Is it possible to turn off Google Search's word filter?
added 336 characters in body; edited title
Jan
28
revised How to redirect a section of a Wikipedia article to another article
edited title
Nov
26
awarded  Caucus
Oct
29
awarded  Popular Question
Oct
23
comment Filter specific words from Google search suggestions
This will filter words from the search results as well, so I appreciate this advice.
Oct
23
awarded  Popular Question
Sep
8
awarded  Popular Question
Aug
19
awarded  Revival
May
22
comment Is it possible to include wiki markup in Wikipedia searches?
@AlEverett Unfortunately, Wikipedia's talk pages don't have any kind of notification system for replies to comments that are left there. This makes it somewhat unreliable as a discussion forum, since it's hard for users to find replies to their questions.
May
22
revised Is it possible to include wiki markup in Wikipedia searches?
added 106 characters in body
May
22
asked Is it possible to include wiki markup in Wikipedia searches?