I'm the author of a natural language programming system called EngScript.

Some of my favorite software projects are:

I have written some useful macros in sweet.js:

//for repeating if statements
macro ifs{
    rule{
        {$($x {$y...}) ...}
    } => {

        $(if($x){
            $y...
        }) ...
    }
}

//a concise way to define several different functions
macro manyFuncs{
    rule{{$($x ($y...) {$z...}) ...}
    } => {
        $(function $x($y...){
            $z...
        }) ...
    }
}

ifs {
    a{
        b
    }
    c{
        d
    }
}

manyFuncs{
    fullName(firstName, lastName) {
        return firstName + lastName;
    }
    squared(a){
        return a*a;
    }
}

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

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
}
1h
comment I need a HTML parsing package and/or assistance with Jsoup and/or htmlparaser packages
Software recommendations are considered off-topic on Stack Overflow, so it might be better to post this question on a different site: softwarerecs.stackexchange.com
17h
awarded Commentator
17h
comment What is a cool comment?
...and Stack Overflow is a stack of papers that fall off a desk.
20h
comment Can I specify python accessor methods for operations other than get and set?
Operator overloading is possible: stackoverflow.com/questions/1936135/…
1d
comment How can I replace text value to star
What does "user query echo rating post" mean?
1d
comment Python write output into a txt file and read from a txt file
Can you post the rest of the code here so that it can be debugged more easily?
Jan
21
comment How to properly close a java program [beginner level]
See this discussion: stackoverflow.com/questions/2670956/…
Jan
21
comment Open source hidden object game
This is a software recommendation question, so it's considered off-topic here. Try posting it on softwarerecs.stackexchange.com instead.
Jan
20
awarded Famous Question
Jan
19
awarded Yearling
Jan
17
comment Array in parameter BleuJ
Also, it's faster to use the ctrl+c shortcut instead of posting screenshots of the code.
Jan
17
comment Array in parameter BleuJ
Some code appears to be missing, and it's not possible to answer the question without additional information. Can you post the rest of the code from the Aandeel class?
Jan
14
awarded Pundit
Jan
13
comment Convert BNF grammar to pyparsing
Also see this related Stack Overflow question: stackoverflow.com/questions/8898049/…
Jan
13
comment Convert BNF grammar to pyparsing
There is an ABNF-to-regex converter here: a-k-r.org/abnf
Jan
12
revised A C++ implementation that detects undefined behavior?
adding a link
Jan
12
awarded Notable Question
Jan
12
awarded Popular Question
Jan
10
accepted How can I delete all web history that matches a specific query in Google Chrome
Jan
9
comment Best Kanban Tools
The image URL in this answer is broken. Is a replacement available?
1 2 3 4 5