on d66da21 help sign in
all commits
e803aeaDon't reset totality for non-total thingsEdwin Brady 4a0eba1Add %name directive for naming hints in editing.Edwin Brady 232a592Replace partial `showDeclImp` function with total `dumpDecl`Brian McKenna ec3daa4Make sure deferred definitions get totality checkedEdwin Brady 6625b24Turn off optimisations when compiling parserJan Stolarek b1537b9Report errors directly, instead of parsing the string given to ihputStrLnHannes Mehnert 8e974c7Parser cleanup. Removing scaffolding parsers, rewrite PParser and IdeSlave from parsec to Haskell. No more parsec dependenciesAhmad Salim Al-Sibahi d1663ccMissing fixity declarations for infix operator functions is now a parser error.David Christiansen 3c32b65Whitespace cleanup.George Leontiev d20f35cAdd --client optionEdwin Brady 9e5c96fAdd error object for failure to load fileDavid Christiansen 57c8657Added column name to sourceAhmad Salim Al-Sibahi f185e63Merge branch 'master' of github.com:edwinb/Idris-dev into implicit-bindEdwin Brady b5eee09Convert IO errors into erros in the Idris monadDavid Christiansen 8c9ec38Added 'implicit bind' syntaxEdwin Brady 50c66f9Added "if_valid" syntax rule for possibly failing EffectsEdwin Brady ac33945Wrap Idris in an ErrorTDavid Christiansen 170da61Propagate '%assert_total' to with blocksEdwin Brady 631fc46Further splitting of ParserEdwin Brady 67fb9ccSplit Parser.hs into several filesEdwin Brady 4447a4dChanged structure of parser such that it correctly overloads TokenParsing using some newtype hackery.Ahmad Salim Al-Sibahi fa6f5faRefactored constraint syntax to use less lookaheadAhmad Salim Al-Sibahi d1b5cb9Refactored data declaration to use less lookahead for better errors and some performance improvementAhmad Salim Al-Sibahi 336f5daSome refactoring of bracketed expressions (centralizing most of the expressions). This provides some simplification for future optimization of grammar regrding issue idris-lang/Idris-dev#452.Ahmad Salim Al-Sibahi a88a918Allow eof instead of eol for comments, closes idris-lang/Idris-dev#503Ahmad Salim Al-Sibahi 45e0a55Merge pull request #504 from david-christiansen/with-parserEdwin Brady 4ed09e4Further improve error message on missing parens after withDavid Christiansen 50af5aaMake the parentheses around a with-rule scrutinee mandatoryDavid Christiansen 7ae55f9Merge remote-tracking branch 'upstream/master' into error-reflectionDavid Christiansen 3a69398Add parser and tests for parser for error reflection extensionDavid Christiansen 3db1e91Added flag for error reflection extensionDavid Christiansen fc3f097Removed explanations for comments (as to not say expected comment when something is wrong)Ahmad Salim Al-Sibahi 4afee31Further refactoring of decl' to allow errors to be propagated correctlyAhmad Salim Al-Sibahi 6a8f0dbRefactored new parser to use considerably less try-statements/lookahead for better performance and error reportingAhmad Salim Al-Sibahi 41d7fb8Fixed unspecified error on empty module without any declarationsAhmad Salim Al-Sibahi d3bb097Fixed doc comments in multi-line comments bugAhmad Salim Al-Sibahi 73bdc53Refactoring of parser to Trifecta, documenting and updating some items/fixing some issues.Ahmad Salim Al-Sibahi c55f8c2Unification fix to avoid giving up on recoverable errorsEdwin Brady daab1a3Partially defined names should not reduce at compile-timeEdwin Brady e8f4bb1Some packaging fixesEdwin Brady af4fda7%flag directiveEdwin Brady 8eb2087Separate IO and PrimIO PrimIO is the internal primitive, IO is the user version which requires an explicit World token to be passed in which programmers have no access to directly. Fixes #185 and fixes #325Edwin Brady 0aca9f2New module chaser, for better dependency checking and rebuilding Now treats each source file separately, building a tree of dependencies, and rebuilding if any dependencies have updated. In particular, this fixes a problem with stale definitions hanging around when building packages, and has required some fixes to imports in the library.Edwin Brady 2d8e573Move universe level check to after all modules are loaded ...otherwise it gets repeated needlessly for every moduleEdwin Brady 8f8ab98Remove unused syntax for 'InferRef' definitions Was only meant to be temporary! (InferRef are names in where clauses whose types are to be inferred)Edwin Brady 48d1105Added 'quoteGoal x by p in e' syntax meaning, let x = p [current goal] in e Additionally, the value of x is normalised, which means p can be a compile-time only %reflection function used to prove something interesting in e. See test030 for an example of automated proof by reflection.Edwin Brady fd9bd68Add '%reflection' option for functions A reflection function can evaluate at compile-time only, and pattern matches on *syntax* rather than on constructor forms. Also add 'prim__syntactic_eq' for a compile-time syntactic equality check.Edwin Brady 0558972Fix parsing of indented blocks If there is no indentation, the block should be considered empty. This means empty parameters or using blocks are no longer allowed, which was always the intention, and empty data/instance/class declarations are allowed without needing an explicit {}. Fixes #437Edwin Brady 7875005Change treatment of underscore in lambda Treat as unnamed variables, rather than as patternsEdwin Brady 6f88ecdAdd syntax for transformation rules %transform lhs ==> rhs Unbound names on the lhs are treated as patterns. Transformation behaviour not yet implemented.Edwin Brady