Repository navigation
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces Vipr v0.2.0, a major update that transitions the language from C-style braces and semicolons to a Python-inspired, indentation-based syntax. It updates the language guide, changelog, and documentation to reflect new syntax, keywords, block scoping, and improved compiler internals. The update also deprecates the old v0.1 specification.
Language and Syntax Overhaul:
let/constfor variable and constant declarations,deffor functions,eliffor conditional chaining, and logical operatorsand,or,not. [1]R1, [2]a, b = b, a). [1] [2]Input/Output and Control Flow:
printandinputnow accept multiple arguments and are implemented as built-in statements, replacing the previousscanfunction. [1] [2]if,elif,else,while,for) use the new syntax and strict type enforcement for conditions. Range-basedforloops are introduced. [1] [2]Compiler and Codebase Updates:
_Genericmacros. [1] [2]Documentation and Examples:
README.mdare rewritten to use the new syntax and features. [1]R1, [2]Deprecations: