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 2,406 public repositories matching this topic...
-
Updated
Feb 20, 2022 - Java
-
Updated
Feb 21, 2022 - Python
-
Updated
Feb 20, 2022 - Rust
-
Updated
Nov 3, 2021 - TypeScript
curl -k --digest --user username:password url
is converted to
import requests
response = requests.get('http://url', verify=False, auth=('username', 'password'))
but should be
import requests
response = requests.get('http://url', verify=False, auth=requests.auth.HTTPDigestAuth('username', 'password'))
-
Updated
Jan 12, 2022 - CoffeeScript
-
Updated
Feb 11, 2022 - Swift
-
Updated
Jan 25, 2022 - Ruby
-
Updated
Jan 7, 2022 - JavaScript
-
Updated
Feb 8, 2022 - C
-
Updated
Feb 18, 2022 - C
Seeing PGO: UNKNOWN is not implemented yet!
printed out when parsing the following assembly
global main
extern GetStdHandle
extern WriteFile
section .text
main:
mov rcx, 0fffffff5h
call GetStdHandle
mov rcx, rax
mov rdx, NtlpBuffer
mov r8, [NtnNBytesToWrite]
mov r9, NtlpNBytesWritten
sub rsp, 40
mov dword [rs
I'd like a line break in the help text produced from <summary>
docs.
It seems that line breaks are ignored (understandably). Adding <para>
elements doesn't help (in fact, it removed whitespace between paragraphs).
Perhaps a separate issue, but it'd be nice to use the <summary>
section for the brief description, and the <remarks>
section for more detailed information.
-
Updated
Aug 9, 2021 - C#
-
Updated
Oct 22, 2021 - JavaScript
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 22, 2021 - HTML
Rubberduck version information
The info below can be copy-paste-completed from the first lines of Rubberduck's log or the About box:
Rubberduck version [Version 2.5.2.6030
OS: Microsoft Windows NT 10.0.22000.0, x64
Host Product: Microsoft Office x64
Host Version: 16.0.14701.20226
Host Executable: WINWORD.EXE
Description
Language inspection for assignment of LCase suggests usi
- 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