Skip to content
#

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,903 public repositories matching this topic...

Christilut
Christilut commented Nov 6, 2019

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

NextTurn
NextTurn commented Jul 17, 2020

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
AccessViolator
AccessViolator commented Feb 24, 2020

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

You can’t perform that action at this time.