1
1
mirror of https://github.com/github/semantic.git synced 2024-11-28 01:47:01 +03:00
semantic/test
Patrick Thomson c36256e943 Standardize and fix floating-point parsing.
The existence of #1705 showed me that it's time to remove the bandaid
of a fix that was `normalizeFloatString` in #1537. This patch
introduces a proper Attoparsec parser for Scientific values that
handles the vaguaries of cross-language floating-point syntax. We
already depended on Attoparsec indirectly, so adding it as an explicit
dependency is fine.

A unit test is included, with examples taken from the tree-sitter corpora.
2018-04-03 17:02:56 -04:00
..
Analysis Merge remote-tracking branch 'origin/master' into less-fail 2018-03-28 13:12:20 -04:00
Assigning/Assignment Initial pass fixing errors raised by weeder. 2018-03-09 12:07:34 -05:00
Data Standardize and fix floating-point parsing. 2018-04-03 17:02:56 -04:00
Diffing Major updates to identifiers: free variables can be qualified names 2018-03-07 17:01:47 -08:00
fixtures Merge remote-tracking branch 'origin/master' into less-fail 2018-03-28 13:12:20 -04:00
Integration More spec import cleanup 2018-03-13 11:10:50 -07:00
Matching/Go Introduce tree-automata DSL for filtering and matching ASTs. 2018-03-27 16:14:30 -04:00
Rendering Fix references to PackageDef in tests 2018-03-26 12:49:52 -07:00
repos remove go-test repo 2016-10-31 17:13:57 -04:00
Semantic More spec import cleanup 2018-03-13 11:10:50 -07:00
Test/Hspec 🔥 Prologue & protolude. 2017-07-28 14:37:02 -04:00
Doctests.hs Merge branch 'master' into disable-doctests 2018-03-26 13:28:03 -04:00
Spec.hs Standardize and fix floating-point parsing. 2018-04-03 17:02:56 -04:00
SpecHelpers.hs Hide an ambiguous symbol. 2018-03-30 19:53:23 -04:00