commit | e0c5e6283db0572b14be9c9df7db0bdddb0aabff | [log] [tgz] |
---|---|---|
author | Googler <noreply@google.com> | Fri Aug 09 15:10:14 2019 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Aug 09 15:11:17 2019 -0700 |
tree | 95098682135dacafeb0eb1a573a11e146e6cb03b | |
parent | b3d6550993c37c3d9a007008c1897ebfd9ae22e7 [diff] |
bazel syntax: lock down constructors of syntax nodes Only the parser should create syntax nodes. This is a preparatory step for having the parser provide file offsets of important tokens to each node constructor, enabling more precise and compact representation of location information. A few nodes cannot be locked down yet because they are created directly by tests in skyframe/serialization. Before fixing those, we must make move certain checks from the parser to the validator (e.g. no for/def at toplevel, no **kwargs, etc). Also: - inline some trivial parser helpers (e.g. makeList) into Parser - add some TODOs signposting next refactoring steps. PiperOrigin-RevId: 262642915
{Fast, Correct} - Choose two
Build and test software of any size, quickly and reliably.
Speed up your builds and tests: Bazel only rebuilds what is necessary. With advanced local and distributed caching, optimized dependency analysis and parallel execution, you get fast and incremental builds.
One tool, multiple languages: Build and test Java, C++, Android, iOS, Go, and a wide variety of other language platforms. Bazel runs on Windows, macOS, and Linux.
Scalable: Bazel helps you scale your organization, codebase, and continuous integration solution. It handles codebases of any size, in multiple repositories or a huge monorepo.
Extensible to your needs: Easily add support for new languages and platforms with Bazel's familiar extension language. Share and re-use language rules written by the growing Bazel community.
Follow our tutorials:
See CONTRIBUTING.md
Bazel is released in ‘Beta’. See the product roadmap to learn about the path toward a stable 1.0 release.