Skip to content

issues Search Results · repo:com-lihaoyi/fastparse language:Scala

Filter by

150 results
 (71 ms)

150 results

incom-lihaoyi/fastparse (press backspace or delete to remove)

Using this script : // using scala 3.6.4 // using dep com.lihaoyi::fastparse:3.1.1 // using dep com.lihaoyi::pprint:0.9.0 import fastparse.*, MultiLineWhitespace.*, pprint.pprintln case class ...
  • dacr
  • 3
  • Opened 
    19 days ago
  • #327

private def `name-first`[_: P]: P[Unit] = P(CharsWhile(isNameFirstAcceptable, 1)) private def `name-char`[_: P]: P[Unit] = P(CharsWhile(isNameCharAcceptable, 1)) /** * https://www.rfc-editor.org/rfc/rfc9535#section-2.5.1.1 ...
  • He-Pin
  • 2
  • Opened 
    on Dec 15, 2024
  • #326

The code below will cause error on Scala 2.13.x with fastparse 3.1.1 private def `function-expr0`[_: P]: P[(PathFunctionDefinition, java.util.List[Expression])] = { P(`function-name` ~~ ( ( )).flatMap ...
  • He-Pin
  • Opened 
    on Dec 14, 2024
  • #325

Motivation: Input: Seq[FunctionType] output: P[Seq[Expr]] When parsing the JSONPath Function, where the function is predefined, and after the function name is parsed, query the FunctionRegistry, which ...
  • He-Pin
  • 2
  • Opened 
    on Dec 7, 2024
  • #322

import fastparse._ object TestFastParse { def parseA[$: P] = P( a ) val Parsed.Success(value, successIndex) = parse( a , parseA(_)) assert(value == (), successIndex == 1) } . /home/tim/repos/untitled/src/main/scala/TestFastParse.scala:5:56 ...
  • TimPigden
  • 4
  • Opened 
    on Sep 24, 2024
  • #320

How do fastparse interact with characters that can t be represented by a Char? What are recommended practices for dealing with such characters?
  • mio-19
  • Opened 
    on Jul 5, 2024
  • #315

Hi, It looks like the latest release wasn t published properly. The latest version I see in maven is 3.1.0, however there is 3.1.1 in docs. Could you please publish the artifacts?
  • limansky
  • 1
  • Opened 
    on Jul 3, 2024
  • #314

function-name = function-name-first *function-name-char function-name-first = LCALPHA function-name-char = function-name-first / _ / DIGIT LCALPHA = %x61-7A ; a .. z function-expr ...
  • He-Pin
  • 1
  • Opened 
    on Jun 8, 2024
  • #313

Motivation: Some tests matching on \n which only works for mac and linux.
  • He-Pin
  • Opened 
    on May 18, 2024
  • #311

Motivation: Make code more fluent
  • He-Pin
  • Opened 
    on May 8, 2024
  • #307
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue search results · GitHub