GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - fastpack/flow_parser: Flow parser with Fastpack-specific modifications

BranchesTags
Open more actions menu

Latest commit

 

History

2 Commits
2 Commits

Folders and files

NameName
Last commit message
Last commit date
bin
bin
 
 
lib
lib
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
dune-ignore
dune-ignore
 
 
dune-project
dune-project
 
 
esy.lock.json
esy.lock.json
 
 
flow_parser.install
flow_parser.install
 
 
flow_parser.opam
flow_parser.opam
 
 
package.json
package.json
 
 

Repository files navigation

flow_parser

Flow parser with Fastpack-specific modifications

Upgrading the Flow version

Change version in the Makefile and package.json and run:

$ make clean && make flow

Copy the parser code to lib/:

$ cp -R flow/src/parser/* lib

Manually modify lib/parser_env.mli:

36a37
+   types_in_comments: bool;

And lib/parser_env.ml:

161a162
+   types_in_comments: bool;
170a172
+   types_in_comments = true;
229c231
-   let enable_types_in_comments = parse_options.types in
---
+   let enable_types_in_comments = parse_options.types && parse_options.types_in_comments in

Make sure it compiles and test passes:

$ make test
...
types_in_comments=false: OK
types_in_comments=true: OK

To publish the package, run:

$ npm publish

About

Flow parser with Fastpack-specific modifications

Resources

Readme
MIT license
Activity
Custom properties

Stars

2 stars

Watchers

2 watching

Forks

2 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.