moonscript/spec/inputs/import.moon

49 lines
436 B
Plaintext
Raw Normal View History

2011-05-24 05:43:40 +00:00
import hello from yeah
import hello, world from table["cool"]
2011-06-23 06:45:03 +00:00
import a, \b, c from items
2011-05-24 05:43:40 +00:00
2011-06-23 06:45:03 +00:00
import master, \ghost from find "mytable"
2011-05-24 05:43:40 +00:00
a, yumm = 3434, "hello"
_table_0 = 232
import something from a table
if indent
2011-06-23 06:45:03 +00:00
import okay, \well from tables[100]
2011-05-24 05:43:40 +00:00
do
import a, b, c from z
do
import a,
b, c from z
do
import a
b
c from z
do
import
a
b
c from z
do
import
a
b
c
from z