Language parsing
A grammar describes the syntax of a programming language, and might be defined in Backus-Naur form (BNF). A lexer performs lexical analysis, turning text into tokens. A parser takes tokens and builds a data structure like an abstract syntax tree (AST). The parser is concerned with context: does the sequence of tokens fit the grammar? A compiler is a combined lexer and parser, built for a specific grammar.
Here are 1,903 public repositories matching this topic...
-
Updated
Dec 13, 2020 - Java
-
Updated
Dec 8, 2020 - TypeScript
-
Updated
Dec 12, 2020 - Python
-
Updated
Oct 21, 2020 - CoffeeScript
-
Updated
Dec 8, 2020 - Swift
-
Updated
Dec 12, 2020 - Rust
-
Updated
Dec 10, 2020 - Ruby
-
Updated
Dec 6, 2020 - JavaScript
-
Updated
Dec 13, 2020 - C
-
Updated
Dec 12, 2020 - C++
-
Updated
Dec 13, 2020 - C
-
Updated
Jul 16, 2020 - JavaScript
-
Updated
Oct 5, 2020 - C#
I'm building a CLI similar to dotnet
where each subcommand has an optional argument. The top level help message looks like the following:
Commands:
install <path-to-config> ...
uninstall <path-to-config> ...
start <path-to-config> ...
stop <path-to-config> ...
restart <path-to-config> ...
status <path-to-config> ...
test <path-to-con
-
Updated
Jul 19, 2019 - TypeScript
Everything in diagrams.css should be scoped to some wrapping css class, because as is it cannot be bundled with the rest of an app's css because of styles like this:
div {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
svg {
width: 100%;
}
Curre
-
Updated
Oct 23, 2020 - HTML
-
Updated
Dec 12, 2020 - C++
- Wikipedia
- Wikipedia
Is your feature request related to a problem? Please describe.
When working with a big piece of text, I sometimes scroll down and copy some text into another tab. When switching back to the first tab, both the input and the output pane is back on top. So I don't know where I was working just now.
Describe the solution you'd like
After tab switching, scroll position should be remembere