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,815 public repositories matching this topic...
-
Updated
Sep 24, 2020 - Java
-
Updated
Sep 27, 2020 - TypeScript
-
Updated
Sep 26, 2020 - Python
-
Updated
Apr 8, 2020 - CoffeeScript
-
Updated
Sep 25, 2020 - Swift
-
Updated
Sep 26, 2020 - Ruby
-
Updated
Sep 27, 2020 - Rust
-
Updated
Sep 8, 2020 - C
-
Updated
Sep 26, 2020 - C
-
Updated
Sep 28, 2020 - C++
-
Updated
Jul 16, 2020 - JavaScript
-
Updated
Aug 31, 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
Sep 24, 2020 - HTML
-
Updated
Sep 4, 2020 - JavaScript
Rubberduck version information
Version 2.5.0.5524
OS: Microsoft Windows NT 10.0.18362.0, x64
Host Product: Microsoft Office 2016 x64
Host Version: 16.0.5026.1000
Host Executable: EXCEL.EXE
Description
When pressing the tab key after preforming a search in Add/Remove references a "Null Reference" error occurs. Pressing tab in other locations will also cause this error. Also, when
- 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