Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: univrs/learn
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: univrs/learn
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: feat/repl-tutorial
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 3 commits
  • 2 files changed
  • 1 contributor

Commits on Jan 17, 2026

  1. fix(repl): add expression evaluation to DOLRepl mock evaluator

    - Evaluate numeric literals (i64, f64)
    - Evaluate arithmetic expressions with proper precedence
    - Handle function definitions and calls
    - Persist session state across evaluations
    - Output values with type annotations (e.g., => 42 : i64)
    ardeshir committed Jan 17, 2026
    Configuration menu
    Copy the full SHA
    5e5252b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    40e9c91 View commit details
    Browse the repository at this point in the history
  3. fix(repl): pre-define tutorial functions and fix gene parsing

    - Pre-define common tutorial functions (square, add, cube, area, etc.)
      so function calls work independently of definition order
    - Fix gene field parsing for DOL v0.8 syntax: "has field: type"
    - Add error messages when calling undefined functions
    - Add 'gen', 'docs', 'Vec', 'Self' to syntax highlighting keywords
    - Handle zero-argument function calls
    ardeshir committed Jan 17, 2026
    Configuration menu
    Copy the full SHA
    a7850c3 View commit details
    Browse the repository at this point in the history
Loading