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,783 public repositories matching this topic...
-
Updated
Sep 1, 2020 - Java
-
Updated
Aug 30, 2020 - TypeScript
-
Updated
Apr 8, 2020 - CoffeeScript
-
Updated
Sep 1, 2020 - Python
-
Updated
Sep 1, 2020 - Swift
-
Updated
Aug 26, 2020 - Ruby
-
Updated
Sep 2, 2020 - Rust
-
Updated
Jul 4, 2020 - C
-
Updated
Aug 30, 2020 - C
-
Updated
Sep 1, 2020 - C++
-
Updated
Jul 16, 2020 - JavaScript
-
Updated
Aug 31, 2020 - C#
If you have a partial command line like --option1 value1 --option2 value2 --options3 value3
and you copy and paste it to a response file, and then break it up to a line per token so that the response file works, if you are not careful enough you can leave trailing spaces behind like this:
--option1<space>
value1<space>
--option2<space>
value2<space>
--options3<space>
value3
-
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
Aug 20, 2020 - HTML
-
Updated
Dec 28, 2019 - 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