@aleksandrasays
www.aleksandra.codes
- open-source engineer at
- 🧗‍♂️
- org of Wrocław
previously
-Â Â Â Â Â Â .js Maintainer
-Â Â Â Â Â Â
@aleksandrasays
www.aleksandra.codes
www.github.com/beerose
Some people, when confronted with a problem, think
“I know, I'll use regular expressions.” Now they have two problems.— Jamie Zawinski
I did visited Berlin
Your so talented at playing you’re piano.
let add = (a, b) {
a + b
}
add(1, 2)
asda
Text
<bedtime-routine> ::= <bottoms> <top> <slippers>
<bottoms> ::= "Bottoms"
<top> ::= "Top"
<slippers> ::= "Slippers"
<Palindrome> ::= <Empty> | <Char> | <Char> <Palindrome> <Char>
<Empty> ::= ε
<Char> ::= "a" | "b" | "c" | ... | "z"
<Palindrome>
r <Palindrome> r
r a <Palindrome> a r
r a d <Palindrome> d a r
<Program> ::= <Expression> '\n' <Program> | EOF
<Expression> ::= <FunctionExpression> | <VariableDeclaration> | <AssignmentExpression>
<AssignmentExpression> ::= <AdditiveExpression> '=' <AssignmentExpression> | <AdditiveExpression>
<AdditiveExpression> ::= <MultiplicativeExpression> ('+' <MultiplicativeExpression> | '-' <MultiplicativeExpression>)*
<MultiplicativeExpression> ::= <PowerExpression> ('*' <PowerExpression> | '/' <PowerExpression>)*
<PowerExpression> ::= <Term> ('**' <Term>)*
<Term> ::= <FunctionCall> | <NumericLiteral> | <Identifier> | <UnaryExpression> | '(' <Expression> ')'
<UnaryExpression> ::= '-' <Term>
<VariableDeclaration> ::= 'let' <Identifier> '=' <Expression>
<FunctionExpression> ::= '(' <Parameters> ')' '=>' <Body>
<FunctionCall> ::= <Identifier> '(' <Arguments> ')'
<Body> ::= <Expression> | '{' <ExpressionSequence> '}'
<ExpressionSequence> ::= <Expression> '\n' <ExpressionSequence> | ε
<Parameters> ::= <Identifier> (',' <Identifier>)* | ε
<Arguments> ::= <Expression> (',' <Expression>)* | ε
<Identifier> ::= [a-zA-Z_][a-zA-Z0-9_]*
<NumericLiteral> ::= [0-9]+('.'[0-9]+)?
?
let add = (a, b) => {
a + b
}
add(1, 2) // == 3
@aleksandrasays
www.aleksandra.codes