diff options
| author | s-ol <s-ol@users.noreply.github.com> | 2020-03-03 10:52:39 +0000 |
|---|---|---|
| committer | s-ol <s-ol@users.noreply.github.com> | 2020-03-05 10:36:22 +0000 |
| commit | 13fdf952138454184f42f50e15c5c4974b2c7eed (patch) | |
| tree | 56405051078b17766695cf4b1c659c8fd68d3035 /core/init.moon | |
| parent | document more interfaces (diff) | |
| download | alive-0.0.tar.gz alive-0.0.zip | |
refactoring cyclic requiresv0.0
Diffstat (limited to 'core/init.moon')
| -rw-r--r-- | core/init.moon | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/core/init.moon b/core/init.moon index 73f63f9..7122e0f 100644 --- a/core/init.moon +++ b/core/init.moon @@ -1,15 +1,17 @@ L or= setmetatable {}, __index: => -> -import Value, Result, load_ from require 'core.value' +import Value from require 'core.value' +import Result from require 'core.result' import Scope from require 'core.scope' -load_! - import Registry from require 'core.registry' import Tag from require 'core.tag' import Cell, RootCell from require 'core.cell' import cell, program from require 'core.parsing' +with require 'core.cycle' + \load! + globals = Scope.from_table require 'core.builtin' { |
