Skip to content
Snippets Groups Projects
  1. Jan 12, 2023
  2. Jan 11, 2023
  3. Jan 10, 2023
  4. Jan 06, 2023
    • v-lafeychine's avatar
      Resolve "LSP: Proof-of-concept" ✨️ · c96f3d1b
      v-lafeychine authored and loutr's avatar loutr committed
      Closes #20 🐔️👍️
      Approved-by: default avataraalbert <augustin.albert@bleu-azure.fr>
      Approved-by: default avatarbelazy <aarthuur01@gmail.com>
      Approved-by: default avatarloutr <loutr@crans.org>
      
      🦀️🍰🦀️🍰🦀️🍰
      
      * chore(tilleul): fix typos in documentation
      
      * chore(tilleul): Add axioms
      
      * chore(tilleul): Add global server tests on unexpected queries
      
      * chore(tilleul): Add UTF-8 message test
      
      * chore(tilleul): Add connection tests
      
      * chore(tilleul): Add message write/read test
      
      * chore(tilleul): Add dispatcher tests
      
      * fix(tilleul): Documentation
      
      * feat(editors): Add emacs integration
      
      * feat(tilleul): Add server mock
      
      * chore(coverage): Ignore log functions
      
      * feat(tilleul): Transform Connection into a trait
      
      * feat(tilleul): Add complete LSP lifecycle
      
      * chore(tilleul): Rename backend crate to lsp and payload crate to message, madedocumentation and fix clippy issues
      
      * chore(tilleul): Rename server crate in backend, made a directory for tilleul
      
      * feat(tilleul): Add WaitingForInitialisation + Initialised states
      
      * chore(tilleul): Fix moved dependencies
      
      * feat(lsp): Add early parsing from tilleul
      
      * feat(lsp): Add notification dispatcher + Improve request dispatcher
      
      * refactor(lsp): Add LanguageServerBackend
      
      * chore(lsp): Remove LSP states
      
      * chore(lsp): Improve request handling
      
      * feat(lsp): Early request dispatcher
      
      * feat(lsp): Add early message handling + Rename message into payload
      
      * fix(cargo): Use workspace for tilleul
      
      * fix(cargo): Use workspace for tilleul
      
      * feat(lsp): Add early LSP stages
      
      * feat(lsp): Add exit notification
      
      * feat(lsp): Threads + Early IO server
      
      * feat(lsp): Initial commit
      c96f3d1b
  5. Jan 05, 2023
    • belazy's avatar
      Resolve "Add axioms" ✨️ · e2c525ec
      belazy authored and v-lafeychine's avatar v-lafeychine committed
      Closes #70 🐔️👍️
      Approved-by: default avatarv-lafeychine <vincent.lafeychine@proton.me>
      Approved-by: default avatarloutr <loutr@crans.org>
      Approved-by: default avataraalbert <augustin.albert@bleu-azure.fr>
      
      🦀️🍰🦀️🍰🦀️🍰
      
      * fix: change lifetime in functions for axiom-term construction
      
      * docs: refer to payloads in builder documentation when missing item documentation
      
      * Apply 1 suggestion(s) to 1 file(s)
      
      * Apply 1 suggestion(s) to 1 file(s)
      
      * chore(kernel): remove unused pointer
      
      * Apply 1 suggestion(s) to 1 file(s)
      
      * Apply 1 suggestion(s) to 1 file(s)
      
      * Apply 1 suggestion(s) to 1 file(s)
      
      * Apply 1 suggestion(s) to 1 file(s)
      
      * Apply 1 suggestion(s) to 1 file(s)
      
      * chore(kernel): remove unused file
      
      * chore(kernel): coverage
      
      * chore(kernel):add coverage
      
      * fix(kernel): fix comment
      
      * Apply 1 suggestion(s) to 1 file(s)
      
      * chore(kernel): move axiom.rs back to root
      
      * feat(kernel): have working axioms
      
      * feat(kernel): better Axiom type
      
      * fix(kernel): fix memoization issue with WHNF and reductions
      
      * chore(proost): make annoying clippy happy
      
      * chore(parser): make annoying clippy happy
      
      * chore(kernel): make annoying clippy happy
      
      * fix(kernel): fix type inference memoization issue with declarations
      
      * fix(kernel): seamless builder interface for variable/declarations
      
      * fix(kernel): remove unused function
      
      * feat(kernel): generalize recursors reductors
      
      * fix(parser): parsing of vars
      
      * fix(kernel): recursor reduction
      
      * fix(parser):tests
      
      * Revert "feat(all): remove `Var` builder"
      
      This reverts commit 9380961f.
      
      * feat(kernel): add recursor reduction
      
      * feat(kernel): add axiom declarations
      
      * chore(parser): remove outdated TODO
      
      * chore(kernel): add TODO
      
      * feat(kernel): add type-checking for axioms
      
      * feat(kernel): add axiom constructor
      
      * feat(all): remove `Var` builder
      
      * fix(kernel): add axiom constructor
      e2c525ec
    • pigeonmoelleux's avatar
      Resolve: "Add support for non-nix users" (79) ✨️ · 20e625cb
      pigeonmoelleux authored and v-lafeychine's avatar v-lafeychine committed
      Closes #79 🐔️👍️
      Approved-by: default avatarbelazy <aarthuur01@gmail.com>
      
      🦀️🍰🦀️🍰🦀️🍰
      
      * fix: Specified which version is used (1.68.0 nightly 2022-12-27)
      
      * feat: Add "nightly" in the rust toolchain
      20e625cb
  6. Jan 04, 2023
  7. Jan 01, 2023
    • loutr's avatar
      Resolve "Better Error Locations" ✨️ · d3a9c669
      loutr authored
      Closes #38 🐔️👍️
      Approved-by: default avatarbelazy <aarthuur01@gmail.com>
      Approved-by: default avatarloutr <loutr@crans.org>
      Approved-by: default avataraalbert <augustin.albert@bleu-azure.fr>
      
      🦀️🍰🦀️🍰🦀️🍰
      
      * Apply 1 suggestion(s) to 1 file(s)
      
      * chore(type_checker): Change Kind -> ErrorKind
      
      * fix(trace): Apply trace in the right order (depth-first)
      
      * chore(test): Add tests for traces
      
      * chore(parser): Move convert_error into From trait
      
      * feat(loc): Specify localisation for Command::Import
      
      * feat(loc): Specify localisation for Command
      
      * feat(trace): Add trace for realise
      
      * feat(trace): Add Traceable implementation
      
      * chore(utils): Move Errors + Location + Trace into utils crate
      
      * feat(trace): Recover tests
      
      * feat(trace): Add early trace utility
      
      * chore(clippy): Fix clippy issues
      
      * fix(proost): change error display behaviour during file import
      
      * feat(trace): Add term builder into Proost error
      
      * feat(trace): Add trace for infer and imax functions
      
      * feat(trace): Add early trace + error module
      
      * chore(error): Add new method on Error
      d3a9c669
  8. Dec 27, 2022
    • belazy's avatar
      Resolve "`whnf` doesn't unfold applications where the head is a declaration" ✨️ · 30fa4424
      belazy authored
      Closes #75 🐔️👍️
      
      🦀️🍰🦀️🍰🦀️🍰
      
      * chore(clippy): clippy
      
      * fix(kernel): unfold applications where the header is a `Decl`
      30fa4424
    • v-lafeychine's avatar
      Resolve "Make clippy annoying" ✨️ · b8a511d9
      v-lafeychine authored
      Closes #68 🐔️👍️
      Approved-by: default avatarbelazy <aarthuur01@gmail.com>
      Approved-by: default avatarloutr <loutr@crans.org>
      
      🦀️🍰🦀️🍰🦀️🍰
      
      * chore(nix): Bump dependencies
      
      * chore(clippy): Remove useless prefix/suffix (clippy::module_name_repetitions)
      
      * chore(clippy): Prevent failed fallback (clippy::default_fallback_numeric)
      
      * chore(parser): Modify parser hierarchy
      
      * fix(fmt): Reduce chain line to 90 columns
      
      * fix(proost): Fix documentation issues
      
      * fix(evaluator): Move out display function, since self is not used
      
      * chore(clippy): Use Self when possible (clippy::use_self)
      
      * fix(kernel): Use safe conversion char -> u8 instead
      
      * chore(clippy): Use explicit lifetime name (clippy::single_char_lifetime_names)
      
      * chore(clippy): Use explicit unreachable/control-flow operator when needed
      
      * chore(clippy): Use to_owned() when possible (clippy::inefficient_to_string + clippy::str_to_string)
      
      * chore(clippy): Use specific function for map function (clippy::map_unwrap_or + clippy::option_if_let_else)
      
      * chore(clippy): Use correct pattern-matching (clippy::pattern_type_mismatch)
      
      * chore(clippy): Apply must_use (clippy::must_use_candidate clippy::return_self_not_must_use)
      
      * chore(clippy): Modify two-arm matches into if-let (clippy::single_match_else)
      
      * fix(declaration): Made struct only-crate public
      
      * chore(clippy): Use const qualifier when possible (clippy::missing_const_for_fn)
      
      * chore(clippy): Use core instead of std (clippy::alloc_instead_of_core + clippy::std_instead_of_core)
      
      * chore(clippy): Inline format args (clippy::uninlined_format_args)
      
      * chore(clippy): Add LTO hints (clippy::missing_inline_in_public_items)
      
      * chore(clippy): [Non-test only] Remove wildcard import (enum_glob_use + wildcard_imports)
      
      * chore(clippy): Add semicolon when nothing is returned (semicolon_if_nothing_returned)
      
      * feat(clippy): Enable clippy lints
      
      * chore(workspace): Improve cargo workspace for dependencies
      b8a511d9
  9. Dec 24, 2022
    • aalbert's avatar
      Resolve "panic when entering "a"" ✨️ · f296610c
      aalbert authored
      Closes #71 🐔️👍️
      Approved-by: default avataraalbert <augustin.albert@bleu-azure.fr>
      
      🦀️🍰🦀️🍰🦀️🍰
      
      * feat(proost): add test for is_command behavior with 1 letter
      
      * fix(proost): add missing boundary check
      f296610c
    • belazy's avatar
      Resolve "Add Universe Polymorphism" ✨️ · 8b20ac80
      belazy authored and loutr's avatar loutr committed
      Closes #28 🐔️👍️
      Approved-by: default avatarbelazy <aarthuur01@gmail.com>
      Approved-by: default avataraalbert <augustin.albert@bleu-azure.fr>
      Approved-by: default avatarv-lafeychine <vincent.lafeychine@proton.me>
      Approved-by: default avatarloutr <loutr@crans.org>
      
      🦀️🍰🦀️🍰🦀️🍰
      
      * fix(proost): added Define command back (need to distinguish between the two in order to bind and reuse correctly later
      
      * chore(kernel, calculus/level): adapt documentation to new type
      
      * chore(level): Add specific enum to handle comparison state
      
      * chore(kernel): c-o-v-e-r-a-g-e
      
      * chore(parser): remove TODO
      
      * chore(parser): more coverage
      
      * fix(kernel): trailing comma when printing `InstantiatedDeclaration`s
      
      * fix(kernel): chiale + aboie, coverage
      
      * chore(kernel): mention #14
      
      * chore(kernel): yet another test
      
      * chore(kernel): always more coverage
      
      * chore(parser): add issue nb to todo
      
      * fix(kernel): avoid reentrant entry bug when infering type of decls with 0 universe arguments
      
      * fix(parser): revert comit, wtf clippy ?
      
      * chore(parser): remove unused branch
      
      * chore(kernel): another test
      
      * Apply 1 suggestion(s) to 1 file(s)
      
      * fix(kernel): remove dangerous function
      
      * chore(kernel): always more coverage
      
      * feat(parser): remove `Define` command
      
      * fix(kernel): interface checking for decls
      
      * Apply 1 suggestion(s) to 1 file(s)
      
      * chore(kernel): add coverage
      
      * Apply 1 suggestion(s) to 1 file(s)
      
      * Apply 1 suggestion(s) to 1 file(s)
      
      * Apply 1 suggestion(s) to 1 file(s)
      
      * Apply 1 suggestion(s) to 1 file(s)
      
      * Apply 1 suggestion(s) to 1 file(s)
      
      * chore(kernel): coverage
      
      * Apply 1 suggestion(s) to 1 file(s)
      
      * fix(kernel): over-agressive normalization
      
      * Apply 1 suggestion(s) to 1 file(s)
      
      * Apply 1 suggestion(s) to 1 file(s)
      
      * Apply 1 suggestion(s) to 1 file(s)
      
      * Apply 1 suggestion(s) to 1 file(s)
      
      * Apply 1 suggestion(s) to 1 file(s)
      
      * Apply 1 suggestion(s) to 1 file(s)
      
      * Apply 1 suggestion(s) to 1 file(s)
      
      * Apply 1 suggestion(s) to 1 file(s)
      
      * fix(parser): avoid spacing befor univ decls/vars
      
      * Apply 1 suggestion(s) to 1 file(s)
      
      * Apply 1 suggestion(s) to 1 file(s)
      
      * Apply 1 suggestion(s) to 1 file(s)
      
      * fix(proost): check existing identifiers for al definitions
      
      * Apply 1 suggestion(s) to 1 file(s)
      
      * feat(parser): add `DeclarationCheckType`
      
      * chore(kernel): remove unused test
      
      * fix(proost): type-check terms before `Eval`uating
      
      * docs: update
      
      * fix: further adjustments to parser
      
      * chore: formatting + some adjustments for kernel tests
      
      * fix(parser, proost): modify command generation for declarations
      
      * chore(parser): add tests todo
      
      * chore(parser): tests on sort parsing
      
      * fix(parser): tests
      
      * feat(parser): parse universe bindings
      
      * feat(parser): parse universe declarations in define_type
      
      * fix(level): comments
      
      * chore: remove biging as a dependency
      
      * chore(kernel): remove todo
      
      * chore(kernel): remove unused file
      
      * chore(kernel): more tests
      
      * chore(kernel): documentation of `level_builder.rs`
      
      * feat(kernel): tests coverage
      
      * fix(kernel): tests
      
      * feat(kernel/term/builder): add binding to (instantiated) declaration builders
      
      * feat(kernel): add builders for declaration
      
      * chore(kernel): refactor builder file hierarchy and simplify these files
      
      * fix(proost): some import errors
      
      * feat(parser): add parsing for univ parameters of definitions
      
      * chore(kernel): add todo
      
      * fix: remove lifetime dependency on LevelEnvironment
      
      * feat : add inference for declarations.
      
      * feat(parser): add new parsing rules for levels
      
      * feat(parser): new syntax for universe polymorphism
      
      * feat(kernel): add type-checking for Decls
      
      * feat: incorporate LevelBuilder in TermBuilder
      
      * fix(kernel): refactor impl organisation: unload most of arena's
      
      * WOOOHOOOO
      
      * fix(kernel, level): fix incorrect assignment in hashcons function
      
      * fix(kernel): more errors
      
      * feat(kernel): fixed some errors
      
      * feat(kernel): finish rudimentary bases for modifying parser and type checker
      
      * feat(kernel): further work on Levels
      
      * WIP feat(kernel): modify declaration.rs structure
      
      * fix(kernel): removing Dweller struct, using a macro instead
      
      * fix(kernel): refactor file structure to add new core types. first attempt for levels.
      
      * feat(kernel): add generic Dweller type
      
      * WIP fix(kernel): refactor file structure to add new core types
      
      * um
      
      * feat:something
      
      * AH
      
      * first commit
      8b20ac80
  10. Dec 17, 2022
  11. Dec 14, 2022
  12. Dec 04, 2022
    • loutr's avatar
      Resolve "Preparations for the first release" ✨️ · 74a80de4
      loutr authored
      Closes #48 🐔️👍️
      Approved-by: default avataraalbert <augustin.albert@bleu-azure.fr>
      Approved-by: default avatarv-lafeychine <vincent.lafeychine@proton.me>
      
      🦀️🍰🦀️🍰🦀️🍰
      
      * chore: change branch name mentions to main
      
      * feat(docs): add user manual
      
      * fix(rustyline): autocompletion format: bold -> grey
      
      * doc(all): add Proost logo
      
      * doc(rustyline_helper): minor URL adjustments
      
      * chore(README): update
      
      * feat(README): add Proost logo
      
      * feat(docs): add Proost logo in specification (LFS test in disguise)
      0.1.0
      74a80de4
    • v-lafeychine's avatar
      Resolve "Infrastructure improvement" ✨️ · bbdd1df8
      v-lafeychine authored and loutr's avatar loutr committed
      Closes #40 🐔️👍️
      Approved-by: default avataraalbert <augustin.albert@bleu-azure.fr>
      Approved-by: default avatarloutr <loutr@crans.org>
      
      🦀️🍰🦀️🍰🦀️🍰
      
      * chore(fmt): Modify format
      
      * chore(coverage): Tune branch + Include no_coverage feature
      
      * bump: Update pest to 2.5.1 and subdependencies
      
      * feat(cargo): Add licence check
      bbdd1df8
    • aalbert's avatar
      Resolve "Add file handling to proost" ✨️ · dc1fc185
      aalbert authored
      Closes #27, #29 et #36 🐔️👍️
      Approved-by: default avatarloutr <loutr@crans.org>
      Approved-by: default avataraalbert <augustin.albert@bleu-azure.fr>
      Approved-by: default avatarbelazy <aarthuur01@gmail.com>
      
      🦀️🍰🦀️🍰🦀️🍰
      
      * feat(parser): add tests
      
      * Apply 1 suggestion(s) to 1 file(s)
      
      * Apply 1 suggestion(s) to 1 file(s)
      
      * fix(kernel): fix tests
      
      * fix(kernel): fix tests
      
      * clippy
      
      * add tests
      
      * more tests
      
      * feat(proost): tests
      
      * clippy + move tests in kernel
      
      * repl -> evaluator
      
      * ex
      
      * change processor for repl
      
      * add verbose arg
      
      * remove deps
      
      * reference issues
      
      * add issue for search command
      
      * remove commandprocessor trait
      
      * rename repl.rs
      
      * fix error handling when failing to import file
      
      * fix(proost): consider suggestions from review; slight refactor of errors
      
      * chore(parser/commands): better display of the import command
      
      * chore(parser): renaming private functions and correcting some documentation
      
      * feat(proost): add better display for commands and use it instead in the import command display
      
      * fix(proost): adapt proost to new parser behaviour
      
      * fix(parser): make parser produce Builders instead of terms, which prevents evaluating commands too early
      
      * add basic search command
      
      * move pretty printing out of command processor
      
      * functional cyclic dependency test
      
      * better tab
      
      * still buggy, more tests
      
      * better emoji handling
      
      * import file 2/2
      
      * fix tests
      
      * clippy
      
      * import file 1/2: test if files exists
      
      * add convenient command for user
      
      * add import command, not fonctional yet
      
      * clippy
      
      * move command in parser
      dc1fc185
  13. Dec 01, 2022
  14. Nov 30, 2022
    • loutr's avatar
      Uniform Kernel Documentation ✨️ · 0d832e96
      loutr authored
      Closes #42 🐔️👍️
      Approved-by: default avatarbelazy <aarthuur01@gmail.com>
      Approved-by: default avatarv-lafeychine <vincent.lafeychine@proton.me>
      Approved-by: default avataraalbert <augustin.albert@bleu-azure.fr>
      
      🦀️🍰🦀️🍰🦀️🍰
      
      * chore(language): typo hunting
      
      * chore(kernel/type checker): adapt type checker tests to new kernel interface
      
      * chore(kernel/test): adapt `and.rs` test to new kernel interface
      
      * chore(proost): adapt proost to new kernel interface
      
      * chore(parser): adapt parser to new kernel interface
      
      * doc(kernel): complete documentation and interface
      
      * doc(kernel/builder): WIP
      
      * doc(kernel/calculus): complete documentation for calculus.rs
      
      * doc(arena): complete documentation for arena.rs
      
      * doc(kernel/arena): WIP
      0d832e96
  15. Nov 26, 2022
    • loutr's avatar
      Resolve "Refactor memory model of type checker" ✨️ · 066c0829
      loutr authored
      Closes #15 🐔️👍️
      Approved-by: default avataraalbert <augustin.albert@bleu-azure.fr>
      Approved-by: default avatarv-lafeychine <vincent.lafeychine@proton.me>
      Approved-by: default avatarbelazy <aarthuur01@gmail.com>
      
      🦀️🍰🦀️🍰🦀️🍰
      
      * chore(cargo): update
      
      * fix(from comments): second pass of small review changes
      
      * Apply 1 suggestion(s) to 1 file(s)
      
      * fix(kernel review): take Vincent comments into account
      
      * chore(cargo): update cargo.lock
      
      * fix(kernel tests): adapt to new builder structure
      
      * fix(proost): adapt proost toplevel to the new memory model.
      This includes a temporary solution for error management, which will be changed anyway.
      
      * fix(parser): adapt tests to memory model
      
      * fix(kernel): refactor build functions location
      
      * fix(parser): adapt parser to new model WIP
      
      * feat(builders): WIP rewriting builders
      
      * chore(file structure): reorganised the file structure of arena- or term-related functions
      
      * chore(terms): changing some annotations in the file
      
      * fix(tests): all tests now succeed. Errors were due to the rewriting of the tests, not the type checker
      
      * fix(terms): chose to modify Debug impl of Terms instead; which gives better, less verbose results
      
      * fix(terms): add wrapper around OnceCell in order to fix their Debug trait implementation (too enthusiastic by default)
      
      * fix(kernel): fix term generation error with depth, fix wrong imax computation in type inference, fix PartialEq impl for Node
      
      * fix(kernel tests): rewrite the and test
      
      * fix(commands): update commands and the associated other functions
      
      * fix(type checker): add necessary lifetime annotations on result
      
      * fix(kernel tests): refactor tests accordingly
      
      * feat(type checker): adapt type checking and errors to the memory model
      
      * fix(terms and type checker): use deref trait, further temporary changes in type checker, removing previous environment definition; early: won't compile
      
      * fix(terms): adapt all core functions from terms.rs; early: won't compile
      
      * fix(terms): fix lifetime issue; early; won't compile
      
      * feat(terms): finish new term description and generation
      
      * chore(cargo): add `im-rc` dependency for immutable structures
      066c0829
    • aalbert's avatar
      Resolve "improve README" ✨️ · dc410508
      aalbert authored and v-lafeychine's avatar v-lafeychine committed
      Closes #37 🐔️👍️
      Approved-by: default avataraalbert <augustin.albert@bleu-azure.fr>
      Approved-by: default avatarbelazy <aarthuur01@gmail.com>
      Approved-by: default avatarv-lafeychine <vincent.lafeychine@proton.me>
      
      🦀️🍰🦀️🍰🦀️🍰
      
      * add ?main
      
      * nix run
      
      * add backticks
      
      * Apply 1 suggestion(s) to 1 file(s)
      
      * fix links
      
      * add blabla
      
      * mermaid test
      
      * mermaid test
      
      * mermaid test
      dc410508
    • aalbert's avatar
      Resolve "Add functionnalities to proost (toplevel)" ✨️ · 1f0aa51e
      aalbert authored and v-lafeychine's avatar v-lafeychine committed
      Closes #39 🐔️👍️
      Approved-by: default avataraalbert <augustin.albert@bleu-azure.fr>
      Approved-by: default avatarv-lafeychine <vincent.lafeychine@proton.me>
      Approved-by: default avatarbelazy <aarthuur01@gmail.com>
      
      🦀️🍰🦀️🍰🦀️🍰
      
      * format
      
      * apply suggestion
      
      * clippy
      
      * apply suggestions
      
      * Apply 1 suggestion(s) to 1 file(s)
      
      * Apply 1 suggestion(s) to 1 file(s)
      
      * Apply 1 suggestion(s) to 1 file(s)
      
      * Apply 1 suggestion(s) to 1 file(s)
      
      * Apply 1 suggestion(s) to 1 file(s)
      
      * Apply 1 suggestion(s) to 1 file(s)
      
      * apply suggested change
      
      * apply suggestion
      
      * apply suggestions
      
      * add cmd option description
      
      * check if terminal and add option for syntax coloring
      
      * add tab
      
      * clippy fix
      
      * apply suggestion
      
      * fix coloring
      
      * apply suggestions
      
      * apply suggestions
      
      * Apply 1 suggestion(s) to 1 file(s)
      
      * add everything listed in issue except full multiline editing
      1f0aa51e
Loading