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,136 public repositories matching this topic...
-
Updated
Jun 8, 2021 - Java
-
Updated
Jun 8, 2021 - Python
-
Updated
May 21, 2021 - TypeScript
-
Updated
Jun 8, 2021 - Rust
-
Updated
Mar 2, 2021 - CoffeeScript
-
Updated
Jun 7, 2021 - Swift
-
Updated
May 14, 2021 - Ruby
-
Updated
Jun 6, 2021 - JavaScript
-
Updated
May 22, 2021 - C
-
Updated
Dec 13, 2020 - 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
Jun 8, 2021 - JavaScript
-
Updated
Feb 15, 2021 - C#
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
Apr 17, 2021 - HTML
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
-
Updated
Jun 8, 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