User:Jarble

From Wikipedia, the free encyclopedia
Jump to: navigation, search
Find this page confusing? Just use this link to ask for help on your talk page; a volunteer will visit you there shortly!

How to reverse Wikipedia's perennial decline in editor retention:[edit]

My current Wikipedia to-do list[edit]

WP:Content forks to merge[edit]

Things to refactor[edit]

Unreliable sources that need to be fixed/improved:[edit]

About me[edit]

This user is a member of the Association of Inclusionist Wikipedians.

The motto of the AIW is conservata veritate, which translates to "with the preserved truth".
This motto reflects the inclusionist desire to change Wikipedia only when no knowledge would be lost as a result.

AIW
Blue ribbon.svg This user is a member of Wikipedians against censorship.


I am the author of a natural language programming system called EngScript. I have also written a JavaScript natural language user interface.

In the future, I will try to create an improved version of EngScript using an Earley parser. Right now, I am studying a programming language called Picat.


I have created a proof-of-concept grammar for an English-like programming language in the JavaScript Moony parser syntax:

expr (
    seriesOfSentences (
        @sentence | (@sentence, " ", @seriesOfSentences)
    ) |
    sentence (
        (@IfThen, ".") |
        (@action, ".")
    ) |
    action (
        "print a random number" |
        ("print ", (@NumExpression | @BoolExpression)) |
        "send an email" |
        (@action, " and ", @action)
    ) |
    BoolExpression (
        (@NumExpression, " is greater than ", @NumExpression) |
        (@NumExpression, " is less than ", @NumExpression) |
        (@BoolExpression, " or ", @BoolExpression) |
        (@NumExpression, " == ", @NumExpression) |
        "true" | "false" | @Variable |
        ("(", @BoolExpression, ")")
    ) |
    NumExpression (
        (@NumExpression, " to the power of ", @NumExpression) |
        (@NumExpression, " times ", @NumExpression) |
        @Number | @Variable
    ) |
    IfThen (
    ("if ", @BoolExpression,  " then ", @action) |
    (@action, " if ", @BoolExpression)
    ) |
    (@Variable | @Number | @NumExpression | @action) |
    ("(", @expr, ")")
)

An example sentence that can be parsed using this grammar:

if 3 is less than 4 then 4 is greater than 3

Another syntactically valid example:

if a then print 4. if b then print 5. print a. print z if 3 == 3.

Soon, I will try to incorporate this system into another project called loyc.

I hope that it will someday be possible to combine the syntax of multiple languages in one source file, like this:

//Ruby
def stringContains(str1, str2)
    return str1 in str2
end
//Ruby
def inRange(num1, num2)
    return num1..num2
end
//PHP
function squared($num1){
    return num1 * num1;
}
//Python
def joinStrings(str1, str2):
    return str1 +","+ str2;
//Java
public static void main(String[] args){
    System.out.println(joinStrings(str1, str2));
    System.out.println(squared(5));
}

My favorite programming tools and programming paradigms[edit]

Pages that need to be disambiguated:[edit]

List of technical issues that I want to fix eventually[edit]

Why Wikipedia is driving me insane[edit]

Participation among Wikipedia's editors has been declining steadily since 2007.

Wikipedia describes itself as a project to gather "the sum of all human knowledge". Nonetheless, more than 1000 pages are deleted from Wikipedia every day, and only administrators are allowed to view these articles

Some articles that have been unnecessarily deleted:[edit]

Unfortunately, these articles are invisible to almost all of Wikipedia's readers.

The article was undeleted, but it was nominated for deletion again and deleted a second time.

About me[edit]

I am an occasional Wikipedia editor. I sometimes correct spelling and grammar mistakes on the English Wikipedia. I also try to find pages that need to be merged, and tag them for merging as necessary.

My interests/hobbies/etc.[edit]

Java-2 This user is an intermediate Java programmer.
js-2 This user is an intermediate JavaScript programmer.
C++-1 This user is a beginning C++ programmer.
py-2 This user is an intermediate Python programmer.
Wind-turbine-icon.svg This user supports renewable energy.
Wikignome crop.gif This editor is a WikiGnome.


List of redundant and tedious tasks that should be performed by Wikipedia bots[edit]

TWA badge 5.png

Neutrality