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,345 public repositories matching this topic...
-
Updated
Jan 6, 2022 - Java
-
Updated
Jan 5, 2022 - Python
-
Updated
Jan 5, 2022 - Rust
-
Updated
Nov 3, 2021 - TypeScript
-
Updated
Sep 16, 2021 - CoffeeScript
-
Updated
Dec 27, 2021 - Swift
-
Updated
Jan 4, 2022 - Ruby
-
Updated
Dec 29, 2021 - JavaScript
-
Updated
Jan 1, 2022 - C
-
Updated
Dec 29, 2021 - 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
Help - line wrap
In my code I have a multiple line summary (comments) for my main method.
when I run my executable and ask for help myapp.exe --help the summary gets line wrapped.
I would like for each line in my summary to have a new line between.
I have tried every mechanism to make this work to no joy (also looked in the dragonfruit code a little) but couldn't find a quick fix.
/// <summary>
-
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
-
Updated
Dec 26, 2021 - 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