Skip to content

Support shorthand types in env yaml and REPL #1301

Merged
jnthntatum merged 5 commits intogoogle:masterfrom
jnthntatum:repl/type-spec
Apr 14, 2026
Merged

Support shorthand types in env yaml and REPL #1301
jnthntatum merged 5 commits intogoogle:masterfrom
jnthntatum:repl/type-spec

Conversation

@jnthntatum
Copy link
Copy Markdown
Collaborator

@jnthntatum jnthntatum commented Apr 10, 2026

Upstream parser for shorthand type specifier map<int, string>. This is used for describing environments.

Add support for parsing yaml environment configs using the string type specifier and update the REPL to use the new format.

Also rework repl to track types in terms of the environment config
TypeDesc. This removes many of the usages of deprecated APIs in the
REPL.

Updates the REPL to use a proposed mini language for specifying types in
environment configs.

internal ref: http://cl/894210091
Adds support for shorthand types when describing environments.

Also rework repl to track types in terms of the environment config
TypeDesc. This removes many of the usages of deprecated APIs in the
REPL.
@jnthntatum jnthntatum marked this pull request as ready for review April 10, 2026 23:11
Comment thread common/env/io.go
Comment thread repl/parser/Commands.g4 Outdated
Comment thread repl/parser/Commands.g4
Comment thread common/env/testdata/extended_env.yaml
Comment thread common/env/io.go
Comment thread common/env/testdata/extended_env.yaml
@jnthntatum jnthntatum merged commit b826162 into google:master Apr 14, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants