mirror of
https://github.com/edwinb/Idris2-boot.git
synced 2024-12-29 15:52:29 +03:00
2c2acdcfac
This has two main advantages: firstly, it actually makes the build slightly faster and less memory intensive, because Idris doesn't fork a new process and eat all the memory! Secondly, it means we can build a distribution with the C file, for building on machines which don't have Idris 1 available. Also includes a script for building such a distribution. I expect someone who is better a writing Makefiles than me can tidy this up. There are almost certainly problems on Windows too - please help if you can! There are new Make targets 'all-fromc' and 'install-fromc' which don't require building from Idris source, so that we can build with no Idris 1 available. A small consequence: make install-exec no longer builds the idris2 executable, just installs it.
134 lines
2.5 KiB
Plaintext
134 lines
2.5 KiB
Plaintext
package idris2
|
|
|
|
modules =
|
|
Compiler.Common,
|
|
Compiler.CompileExpr,
|
|
Compiler.Inline,
|
|
Compiler.Scheme.Chez,
|
|
Compiler.Scheme.Chicken,
|
|
Compiler.Scheme.Racket,
|
|
Compiler.Scheme.Common,
|
|
|
|
Control.Delayed,
|
|
|
|
Core.AutoSearch,
|
|
Core.Binary,
|
|
Core.CaseBuilder,
|
|
Core.CaseTree,
|
|
Core.Context,
|
|
Core.CompileExpr,
|
|
Core.Core,
|
|
Core.Coverage,
|
|
Core.Directory,
|
|
Core.Env,
|
|
Core.FC,
|
|
Core.GetType,
|
|
Core.Hash,
|
|
Core.LinearCheck,
|
|
Core.Metadata,
|
|
Core.Name,
|
|
Core.Normalise,
|
|
Core.Options,
|
|
Core.Reflect,
|
|
Core.Termination,
|
|
Core.TT,
|
|
Core.TTC,
|
|
Core.Unify,
|
|
Core.UnifyState,
|
|
Core.Value,
|
|
|
|
Data.ANameMap,
|
|
Data.Bool.Extra,
|
|
Data.IntMap,
|
|
Data.IOArray,
|
|
Data.NameMap,
|
|
Data.StringMap,
|
|
Data.These,
|
|
Data.StringTrie,
|
|
|
|
Idris.CommandLine,
|
|
Idris.Desugar,
|
|
Idris.Elab.Implementation,
|
|
Idris.Elab.Interface,
|
|
Idris.Error,
|
|
Idris.IDEMode.CaseSplit,
|
|
Idris.IDEMode.Commands,
|
|
Idris.IDEMode.MakeClause,
|
|
Idris.IDEMode.Parser,
|
|
Idris.IDEMode.REPL,
|
|
Idris.IDEMode.TokenLine,
|
|
Idris.ModTree,
|
|
Idris.Package,
|
|
Idris.Parser,
|
|
Idris.ProcessIdr,
|
|
Idris.REPL,
|
|
Idris.REPLCommon,
|
|
Idris.REPLOpts,
|
|
Idris.Resugar,
|
|
Idris.SetOptions,
|
|
Idris.Socket,
|
|
Idris.Socket.Data,
|
|
Idris.Socket.Raw,
|
|
Idris.Syntax,
|
|
|
|
Parser.Lexer,
|
|
Parser.Support,
|
|
|
|
Text.Lexer,
|
|
Text.Lexer.Core,
|
|
Text.Parser,
|
|
Text.Parser.Core,
|
|
Text.Quantity,
|
|
Text.Token,
|
|
|
|
TTImp.BindImplicits,
|
|
TTImp.Elab,
|
|
TTImp.Elab.Ambiguity,
|
|
TTImp.Elab.App,
|
|
TTImp.Elab.As,
|
|
TTImp.Elab.Binders,
|
|
TTImp.Elab.Case,
|
|
TTImp.Elab.Check,
|
|
TTImp.Elab.Dot,
|
|
TTImp.Elab.Hole,
|
|
TTImp.Elab.ImplicitBind,
|
|
TTImp.Elab.Lazy,
|
|
TTImp.Elab.Local,
|
|
TTImp.Elab.Prim,
|
|
TTImp.Elab.Quote,
|
|
TTImp.Elab.Record,
|
|
TTImp.Elab.Rewrite,
|
|
TTImp.Elab.Term,
|
|
TTImp.Elab.Utils,
|
|
TTImp.Impossible,
|
|
TTImp.Interactive.CaseSplit,
|
|
TTImp.Interactive.ExprSearch,
|
|
TTImp.Interactive.GenerateDef,
|
|
TTImp.Interactive.MakeLemma,
|
|
TTImp.Parser,
|
|
TTImp.ProcessData,
|
|
TTImp.ProcessDecls,
|
|
TTImp.ProcessDef,
|
|
TTImp.ProcessParams,
|
|
TTImp.ProcessRecord,
|
|
TTImp.ProcessType,
|
|
TTImp.Reflect,
|
|
TTImp.TTImp,
|
|
TTImp.Unelab,
|
|
TTImp.Utils,
|
|
TTImp.WithClause,
|
|
|
|
Utils.Binary,
|
|
Utils.Hex,
|
|
Utils.Shunting,
|
|
|
|
Yaffle.Main,
|
|
Yaffle.REPL
|
|
|
|
sourcedir = src
|
|
executable = idris2.c
|
|
opts = "--partial-eval -S"
|
|
|
|
main = Idris.Main
|
|
|