meta/flow
View on GitHub ↗ ★ 22,307 Rust
Adds static typing to JavaScript to improve developer productivity and code quality.
64 mentions on Hacker News by 55 people: 6 stories, 58 comments · first 2014-11-18 · latest 2026-06-07
20082026
-
…friendly if possible). At the moment I'm using babel in Atom and typescript in VisualStudio. [1] https://github.com/facebook/flow/issues/6
comment by Guillaume86 · 2015-07-20 · in Announcing TypeScript 1.5 -
They use the Spidermonkey AST, but the parser is written with OCaml https://github.com/facebook/flow/blob/master/src/parser/pars... and the Lexer is generated with OCamllex, since there is support for compiling OCaml bytecode to Javascript…
comment by orbifold · 2015-04-26 · in Google Dart Will Not Be the Next Default Programming Language of the Web -
…. It exists for JavaScript: https://github.com/sinelaw/infernu https://github.com/facebook/flow
comment by glibgil · 2015-04-15 · in Introducing T3: Enabling Large Scale JavaScript Applications -
…: sig type t = Function of Statement.t list end = Expression Links: Big real world example: https://github.com/facebook/flow/blob/3a5b4040b7d2a648f97a06... Recursive module docs: http://caml.inria.fr/pub/docs/manual-ocaml-400/manual021.htm.…
comment by gabelevi · 2015-04-12 · in Namespacing Variants in ML -
Facebook made flow https://github.com/facebook/flow and TypeScript has already been mentioned
comment by jackweirdy · 2015-03-19 · in Wallaby.js – An intelligent test runner that continuously runs your tests -
If something might return null -- feel free to make a PR with making it a Maybe type, like here: https://github.com/facebook/flow/blob/master/lib/dom.js#L359
comment by k_bx · 2015-03-08 · in Angular 2: Built on TypeScript -
…good start, but it doesn't seem really useful if they aren't even in the basic API's descriptions: https://github.com/facebook/flow/blob/master/lib/dom.js#L198
comment by the_gipsy · 2015-03-07 · in Angular 2: Built on TypeScript -
…instead ? Looks appealing because companies like Facebook are using it create tools like Flow ( https://github.com/facebook/flow ).
comment by laex · 2015-02-19 · in Learn You a Haskell for Great Good (2008) -
…That's why I'm hopeful for Flow, Facebook's new project to add static typing to Javascript: https://github.com/facebook/flow
comment by jnbiche · 2015-01-28 · in React v0.13.0 Beta 1 -
…on me, but it does feel more accessible than other FP languages. It almost has a Python feel. [0] https://github.com/facebook/flow/blob/master/hack/parsing/fo...
comment by glifchits · 2014-11-24 · in OCaml Briefly -
EDIT: looks like it supports type annotations similar to closure compiler's (in docs) https://github.com/facebook/flow/blob/master/tests/docblock/... Try running an annotated file in the browser - it's simply not valid ECMAScript syntax…
comment by inglor · 2014-11-18 · in Facebook Launches Flow, Static Type Checker for JavaScript -
>...but has no support for modules yet I see some mentions of import in the tests and the grammar: https://github.com/facebook/flow/search?utf8=%E2%9C%93&q=imp...
comment by Arnavion · 2014-11-18 · in Facebook Launches Flow, Static Type Checker for JavaScript -
…comments like other tools do - there is a GH issue on that and it looks like it should be possible https://github.com/facebook/flow/blob/master/src/typing/comm...
comment by inglor · 2014-11-18 · in Facebook Launches Flow, Static Type Checker for JavaScript -
…more about Flow check out the docs [1] and github repo [2]. [1] - http://flowtype.org/ [2] - https://github.com/facebook/flow
comment by davemo · 2014-11-18 · in Facebook Launches Flow, Static Type Checker for JavaScript