Permalink
Browse files

WIP moving lang packages

  • Loading branch information...
1 parent a27ded7 commit 87e4c94018c59635eb05f68b1a822d51fae5c30a @fd committed Feb 11, 2013
Showing with 76 additions and 78 deletions.
  1. +2 −4 Makefile
  2. +1 −1 { → lang}/ast/ast.go
  3. +1 −1 { → lang}/ast/ast_sx.go
  4. 0 { → lang}/ast/ast_test.go
  5. +1 −1 { → lang}/ast/commentmap.go
  6. +3 −3 { → lang}/ast/commentmap_test.go
  7. +3 −3 { → lang}/ast/example_test.go
  8. +1 −1 { → lang}/ast/filter.go
  9. 0 { → lang}/ast/filter_sx.go
  10. +1 −1 { → lang}/ast/import.go
  11. +1 −1 { → lang}/ast/print.go
  12. 0 { → lang}/ast/print_test.go
  13. 0 { → lang}/ast/replace.go
  14. +2 −2 { → lang}/ast/resolve.go
  15. +1 −1 { → lang}/ast/scope.go
  16. 0 { → lang}/ast/walk.go
  17. 0 { → lang}/build/build.go
  18. 0 { → lang}/build/build_test.go
  19. 0 { → lang}/build/deps_test.go
  20. 0 { → lang}/build/doc.go
  21. 0 { → lang}/build/read.go
  22. 0 { → lang}/build/read_test.go
  23. 0 { → lang}/build/syslist.go
  24. 0 { → lang}/build/syslist_test.go
  25. 0 { → lang}/build/testdata/other/file/file.go
  26. 0 { → lang}/build/testdata/other/main.go
  27. 0 { → lang}/cmd/sx/bootstrap.go
  28. +1 −1 { → lang}/cmd/sx/build.go
  29. 0 { → lang}/cmd/sx/clean.go
  30. 0 { → lang}/cmd/sx/discovery.go
  31. 0 { → lang}/cmd/sx/doc.go
  32. 0 { → lang}/cmd/sx/env.go
  33. 0 { → lang}/cmd/sx/fix.go
  34. 0 { → lang}/cmd/sx/fmt.go
  35. +1 −1 { → lang}/cmd/sx/get.go
  36. 0 { → lang}/cmd/sx/help.go
  37. 0 { → lang}/cmd/sx/http.go
  38. 0 { → lang}/cmd/sx/list.go
  39. +1 −1 { → lang}/cmd/sx/main.go
  40. 0 { → lang}/cmd/sx/match_test.go
  41. 0 { → lang}/cmd/sx/mkdoc.sh
  42. +3 −3 { → lang}/cmd/sx/pkg.go
  43. 0 { → lang}/cmd/sx/run.go
  44. 0 { → lang}/cmd/sx/script
  45. 0 { → lang}/cmd/sx/script.txt
  46. 0 { → lang}/cmd/sx/signal.go
  47. 0 { → lang}/cmd/sx/signal_notunix.go
  48. 0 { → lang}/cmd/sx/signal_unix.go
  49. 0 { → lang}/cmd/sx/tag_test.go
  50. 0 { → lang}/cmd/sx/test.bash
  51. +5 −5 { → lang}/cmd/sx/test.go
  52. 0 { → lang}/cmd/sx/testdata/errmsg/x.go
  53. 0 { → lang}/cmd/sx/testdata/errmsg/x1_test.go
  54. 0 { → lang}/cmd/sx/testdata/errmsg/x_test.go
  55. 0 { → lang}/cmd/sx/testdata/local/easy.go
  56. 0 { → lang}/cmd/sx/testdata/local/easysub/easysub.go
  57. 0 { → lang}/cmd/sx/testdata/local/easysub/main.go
  58. 0 { → lang}/cmd/sx/testdata/local/hard.go
  59. 0 { → lang}/cmd/sx/testdata/local/sub/sub.go
  60. 0 { → lang}/cmd/sx/testdata/local/sub/sub/subsub.go
  61. 0 { → lang}/cmd/sx/testdata/src/go-cmd-test/helloworld.go
  62. 0 { → lang}/cmd/sx/testdata/testimport/p.go
  63. 0 { → lang}/cmd/sx/testdata/testimport/p1/p1.go
  64. 0 { → lang}/cmd/sx/testdata/testimport/p2/p2.go
  65. 0 { → lang}/cmd/sx/testdata/testimport/p_test.go
  66. 0 { → lang}/cmd/sx/testdata/testimport/x_test.go
  67. 0 { → lang}/cmd/sx/testflag.go
  68. +1 −1 { → lang}/cmd/sx/tool.go
  69. 0 { → lang}/cmd/sx/vcs.go
  70. 0 { → lang}/cmd/sx/version.go
  71. 0 { → lang}/cmd/sx/vet.go
  72. +1 −1 { → lang}/cmd/sxc/main.go
  73. 0 { → lang}/cmd/sxdoc/README.godoc-app
  74. 0 { → lang}/cmd/sxdoc/appinit.go
  75. 0 { → lang}/cmd/sxdoc/codewalk.go
  76. +3 −3 { → lang}/cmd/sxdoc/dirtrees.go
  77. 0 { → lang}/cmd/sxdoc/doc.go
  78. 0 { → lang}/cmd/sxdoc/filesystem.go
  79. +2 −2 { → lang}/cmd/sxdoc/format.go
  80. +6 −6 { → lang}/cmd/sxdoc/godoc.go
  81. +3 −3 { → lang}/cmd/sxdoc/index.go
  82. +3 −3 { → lang}/cmd/sxdoc/main.go
  83. +3 −3 { → lang}/cmd/sxdoc/parser.go
  84. 0 { → lang}/cmd/sxdoc/play-appengine.go
  85. 0 { → lang}/cmd/sxdoc/play-local.go
  86. +1 −1 { → lang}/cmd/sxdoc/play.go
  87. 0 { → lang}/cmd/sxdoc/setup-godoc-app.bash
  88. +2 −2 { → lang}/cmd/sxdoc/snippet.go
  89. 0 { → lang}/cmd/sxdoc/spec.go
  90. 0 { → lang}/cmd/sxdoc/template.go
  91. 0 { → lang}/cmd/sxdoc/throttle.go
  92. 0 { → lang}/cmd/sxdoc/utils.go
  93. 0 { → lang}/cmd/sxdoc/zip.go
  94. 0 { → lang}/cmd/sxfmt/doc.go
  95. +5 −5 { → lang}/cmd/sxfmt/gofmt.go
  96. +5 −5 { → lang}/cmd/sxfmt/gofmt.go.gofmt
  97. 0 { → lang}/cmd/sxfmt/gofmt_test.go
  98. 0 { → lang}/cmd/sxfmt/gofmt_test.go.gofmt
  99. +3 −3 { → lang}/cmd/sxfmt/long_test.go
  100. +3 −3 { → lang}/cmd/sxfmt/rewrite.go
  101. +2 −2 { → lang}/cmd/sxfmt/simplify.go
  102. 0 { → lang}/cmd/sxfmt/testdata/.gitattributes
  103. 0 { → lang}/cmd/sxfmt/testdata/comments.golden
  104. 0 { → lang}/cmd/sxfmt/testdata/comments.input
  105. 0 { → lang}/cmd/sxfmt/testdata/composites.golden
  106. 0 { → lang}/cmd/sxfmt/testdata/composites.input
  107. 0 { → lang}/cmd/sxfmt/testdata/crlf.golden
  108. 0 { → lang}/cmd/sxfmt/testdata/crlf.input
  109. 0 { → lang}/cmd/sxfmt/testdata/import.golden
  110. 0 { → lang}/cmd/sxfmt/testdata/import.input
  111. 0 { → lang}/cmd/sxfmt/testdata/old.golden
  112. 0 { → lang}/cmd/sxfmt/testdata/old.input
  113. 0 { → lang}/cmd/sxfmt/testdata/rewrite1.golden
  114. 0 { → lang}/cmd/sxfmt/testdata/rewrite1.input
  115. 0 { → lang}/cmd/sxfmt/testdata/rewrite2.golden
  116. 0 { → lang}/cmd/sxfmt/testdata/rewrite2.input
  117. 0 { → lang}/cmd/sxfmt/testdata/rewrite3.golden
  118. 0 { → lang}/cmd/sxfmt/testdata/rewrite3.input
  119. 0 { → lang}/cmd/sxfmt/testdata/rewrite4.golden
  120. 0 { → lang}/cmd/sxfmt/testdata/rewrite4.input
  121. 0 { → lang}/cmd/sxfmt/testdata/rewrite5.golden
  122. 0 { → lang}/cmd/sxfmt/testdata/rewrite5.input
  123. 0 { → lang}/cmd/sxfmt/testdata/slices1.golden
  124. 0 { → lang}/cmd/sxfmt/testdata/slices1.input
  125. 0 { → lang}/cmd/sxfmt/testdata/slices2.golden
  126. 0 { → lang}/cmd/sxfmt/testdata/slices2.input
  127. 0 { → lang}/cmd/sxfmt/testdata/stdin1.golden
  128. 0 { → lang}/cmd/sxfmt/testdata/stdin1.golden.gofmt
  129. 0 { → lang}/cmd/sxfmt/testdata/stdin1.input
  130. 0 { → lang}/cmd/sxfmt/testdata/stdin1.input.gofmt
  131. 0 { → lang}/cmd/sxfmt/testdata/stdin2.golden
  132. 0 { → lang}/cmd/sxfmt/testdata/stdin2.golden.gofmt
  133. 0 { → lang}/cmd/sxfmt/testdata/stdin2.input
  134. 0 { → lang}/cmd/sxfmt/testdata/stdin2.input.gofmt
  135. 0 { → lang}/cmd/sxfmt/testdata/stdin3.golden
  136. 0 { → lang}/cmd/sxfmt/testdata/stdin3.golden.gofmt
  137. 0 { → lang}/cmd/sxfmt/testdata/stdin3.input
  138. 0 { → lang}/cmd/sxfmt/testdata/stdin3.input.gofmt
  139. 0 { → lang}/cmd/sxfmt/testdata/stdin4.golden
  140. 0 { → lang}/cmd/sxfmt/testdata/stdin4.golden.gofmt
  141. 0 { → lang}/cmd/sxfmt/testdata/stdin4.input
  142. 0 { → lang}/cmd/sxfmt/testdata/stdin4.input.gofmt
  143. 0 { → lang}/cmd/sxfmt/testdata/typeswitch.golden
  144. 0 { → lang}/cmd/sxfmt/testdata/typeswitch.input
  145. 0 { → lang}/compiler/context.go
  146. 0 { → lang}/compiler/converter.go
  147. 0 { → lang}/compiler/parser.go
  148. 0 { → lang}/compiler/printer.go
  149. 0 { → lang}/compiler/type_checker.go
  150. 0 { → lang}/compiler/type_printer.go
  151. 0 { → lang}/compiler/types.go
  152. 0 { → lang}/doc/Makefile
  153. 0 { → lang}/doc/comment.go
  154. 0 { → lang}/doc/comment_test.go
  155. 0 { → lang}/doc/doc.go
  156. 0 { → lang}/doc/doc_test.go
  157. 0 { → lang}/doc/example.go
  158. 0 { → lang}/doc/example_test.go
  159. 0 { → lang}/doc/exports.go
  160. 0 { → lang}/doc/filter.go
  161. 0 { → lang}/doc/headscan.go
  162. 0 { → lang}/doc/reader.go
  163. 0 { → lang}/doc/synopsis.go
  164. 0 { → lang}/doc/synopsis_test.go
  165. 0 { → lang}/doc/testdata/a.0.golden
  166. 0 { → lang}/doc/testdata/a.1.golden
  167. 0 { → lang}/doc/testdata/a.2.golden
  168. 0 { → lang}/doc/testdata/a0.go
  169. 0 { → lang}/doc/testdata/a1.go
  170. 0 { → lang}/doc/testdata/b.0.golden
  171. 0 { → lang}/doc/testdata/b.1.golden
  172. 0 { → lang}/doc/testdata/b.2.golden
  173. 0 { → lang}/doc/testdata/b.go
  174. 0 { → lang}/doc/testdata/benchmark.go
  175. 0 { → lang}/doc/testdata/c.0.golden
  176. 0 { → lang}/doc/testdata/c.1.golden
  177. 0 { → lang}/doc/testdata/c.2.golden
  178. 0 { → lang}/doc/testdata/c.go
  179. 0 { → lang}/doc/testdata/d.0.golden
  180. 0 { → lang}/doc/testdata/d.1.golden
  181. 0 { → lang}/doc/testdata/d.2.golden
  182. 0 { → lang}/doc/testdata/d1.go
  183. 0 { → lang}/doc/testdata/d2.go
  184. 0 { → lang}/doc/testdata/e.0.golden
  185. 0 { → lang}/doc/testdata/e.1.golden
  186. 0 { → lang}/doc/testdata/e.2.golden
  187. 0 { → lang}/doc/testdata/e.go
  188. 0 { → lang}/doc/testdata/error1.0.golden
  189. 0 { → lang}/doc/testdata/error1.1.golden
  190. 0 { → lang}/doc/testdata/error1.2.golden
  191. 0 { → lang}/doc/testdata/error1.go
  192. 0 { → lang}/doc/testdata/error2.0.golden
  193. 0 { → lang}/doc/testdata/error2.1.golden
  194. 0 { → lang}/doc/testdata/error2.2.golden
  195. 0 { → lang}/doc/testdata/error2.go
  196. 0 { → lang}/doc/testdata/example.go
  197. 0 { → lang}/doc/testdata/f.0.golden
  198. 0 { → lang}/doc/testdata/f.1.golden
  199. 0 { → lang}/doc/testdata/f.2.golden
  200. 0 { → lang}/doc/testdata/f.go
  201. 0 { → lang}/doc/testdata/template.txt
  202. 0 { → lang}/doc/testdata/testing.0.golden
  203. 0 { → lang}/doc/testdata/testing.1.golden
  204. 0 { → lang}/doc/testdata/testing.2.golden
  205. 0 { → lang}/doc/testdata/testing.go
  206. 0 { → lang}/format/format.go
  207. 0 { → lang}/format/format_test.go
  208. 0 { → lang}/parser/error_test.go
  209. 0 { → lang}/parser/example_test.go
  210. 0 { → lang}/parser/interface.go
  211. 0 { → lang}/parser/parser.go
  212. 0 { → lang}/parser/parser_sx.go
  213. 0 { → lang}/parser/parser_test.go
  214. 0 { → lang}/parser/performance_test.go
  215. 0 { → lang}/parser/short_test.go
  216. 0 { → lang}/parser/testdata/commas.src
  217. 0 { → lang}/parser/testdata/issue3106.src
  218. 0 { → lang}/printer/example_test.go
  219. 0 { → lang}/printer/nodes.go
  220. 0 { → lang}/printer/performance_test.go
  221. 0 { → lang}/printer/printer.go
  222. 0 { → lang}/printer/printer_test.go
  223. 0 { → lang}/printer/testdata/comments.golden
  224. 0 { → lang}/printer/testdata/comments.input
  225. 0 { → lang}/printer/testdata/comments.x
  226. 0 { → lang}/printer/testdata/comments2.golden
  227. 0 { → lang}/printer/testdata/comments2.input
  228. 0 { → lang}/printer/testdata/declarations.golden
  229. 0 { → lang}/printer/testdata/declarations.input
  230. 0 { → lang}/printer/testdata/empty.golden
  231. 0 { → lang}/printer/testdata/empty.input
  232. 0 { → lang}/printer/testdata/expressions.golden
  233. 0 { → lang}/printer/testdata/expressions.input
  234. 0 { → lang}/printer/testdata/expressions.raw
  235. 0 { → lang}/printer/testdata/linebreaks.golden
  236. 0 { → lang}/printer/testdata/linebreaks.input
  237. 0 { → lang}/printer/testdata/parser.go
  238. 0 { → lang}/printer/testdata/slow.golden
  239. 0 { → lang}/printer/testdata/slow.input
  240. 0 { → lang}/printer/testdata/statements.golden
  241. 0 { → lang}/printer/testdata/statements.input
  242. +1 −1 { → lang}/scanner/errors.go
  243. +2 −2 { → lang}/scanner/example_test.go
  244. +1 −1 { → lang}/scanner/scanner.go
  245. +1 −1 { → lang}/scanner/scanner_test.go
  246. 0 { → lang}/token/position.go
  247. 0 { → lang}/token/position_test.go
  248. 0 { → lang}/token/serialize.go
  249. 0 { → lang}/token/serialize_test.go
  250. 0 { → lang}/token/token.go
  251. 0 { → lang}/token/token_sx.go
  252. 0 { → lang}/types/api.go
  253. 0 { → lang}/types/builtins.go
  254. 0 { → lang}/types/builtins_sx.go
  255. 0 { → lang}/types/check.go
  256. 0 { → lang}/types/check_test.go
  257. 0 { → lang}/types/const.go
  258. 0 { → lang}/types/conversions.go
  259. 0 { → lang}/types/errors.go
  260. 0 { → lang}/types/errors_sx.go
  261. 0 { → lang}/types/exportdata.go
  262. 0 { → lang}/types/expr.go
  263. 0 { → lang}/types/expr_sx.go
  264. 0 { → lang}/types/gcimporter.go
  265. 0 { → lang}/types/gcimporter_test.go
  266. 0 { → lang}/types/objects.go
  267. 0 { → lang}/types/operand.go
  268. 0 { → lang}/types/operand_sx.go
  269. 0 { → lang}/types/predicates.go
  270. 0 { → lang}/types/predicates_sx.go
  271. 0 { → lang}/types/resolve.go
  272. 0 { → lang}/types/resolver_test.go
  273. 0 { → lang}/types/scope.go
  274. 0 { → lang}/types/stmt.go
  275. 0 { → lang}/types/testdata/builtins.src
  276. 0 { → lang}/types/testdata/builtins_sx.src
  277. 0 { → lang}/types/testdata/const0.src
  278. 0 { → lang}/types/testdata/conversions.src
  279. 0 { → lang}/types/testdata/conversions_sx.src
  280. 0 { → lang}/types/testdata/decls0.src
  281. 0 { → lang}/types/testdata/decls1.src
  282. 0 { → lang}/types/testdata/decls2a.src
  283. 0 { → lang}/types/testdata/decls2b.src
  284. 0 { → lang}/types/testdata/decls3.src
  285. 0 { → lang}/types/testdata/exports.go
  286. 0 { → lang}/types/testdata/expr0.src
  287. 0 { → lang}/types/testdata/expr0_sx.src
  288. 0 { → lang}/types/testdata/expr1.src
  289. 0 { → lang}/types/testdata/expr2.src
  290. 0 { → lang}/types/testdata/expr3.src
  291. 0 { → lang}/types/testdata/stmt0.src
  292. 0 { → lang}/types/types.go
  293. 0 { → lang}/types/types_sx.go
  294. 0 { → lang}/types/types_test.go
  295. 0 { → lang}/types/universe.go
View
@@ -1,12 +1,10 @@
-SX='./ast/...' './build/...' './cmd/...' './compiler/...' \
- './doc/...' './format/...' './parser/...' './printer/...' \
- './scanner/...' './token/...' './types/...' \
+SX='./lang/...' \
'./cas/...' './runtime/...' './net/...'
all: commands
commands:
- go get './cmd/...'
+ go get './lang/cmd/...'
build_sx:
go get ${SX}
@@ -8,7 +8,7 @@
package ast
import (
- "github.com/fd/simplex/token"
+ "github.com/fd/simplex/lang/token"
"strings"
"unicode"
"unicode/utf8"
@@ -1,7 +1,7 @@
package ast
import (
- "github.com/fd/simplex/token"
+ "github.com/fd/simplex/lang/token"
)
type (
File renamed without changes.
@@ -7,7 +7,7 @@ package ast
import (
"bytes"
"fmt"
- "github.com/fd/simplex/token"
+ "github.com/fd/simplex/lang/token"
"sort"
)
@@ -9,9 +9,9 @@ package ast_test
import (
"bytes"
"fmt"
- . "github.com/fd/simplex/ast"
- "github.com/fd/simplex/parser"
- "github.com/fd/simplex/token"
+ . "github.com/fd/simplex/lang/ast"
+ "github.com/fd/simplex/lang/parser"
+ "github.com/fd/simplex/lang/token"
"sort"
"testing"
)
@@ -6,9 +6,9 @@ package ast_test
import (
"fmt"
- "github.com/fd/simplex/ast"
- "github.com/fd/simplex/parser"
- "github.com/fd/simplex/token"
+ "github.com/fd/simplex/lang/ast"
+ "github.com/fd/simplex/lang/parser"
+ "github.com/fd/simplex/lang/token"
)
// This example demonstrates how to inspect the AST of a Go program.
@@ -5,7 +5,7 @@
package ast
import (
- "github.com/fd/simplex/token"
+ "github.com/fd/simplex/lang/token"
"sort"
)
File renamed without changes.
@@ -5,7 +5,7 @@
package ast
import (
- "github.com/fd/simplex/token"
+ "github.com/fd/simplex/lang/token"
"sort"
"strconv"
)
@@ -8,7 +8,7 @@ package ast
import (
"fmt"
- "github.com/fd/simplex/token"
+ "github.com/fd/simplex/lang/token"
"io"
"os"
"reflect"
File renamed without changes.
File renamed without changes.
@@ -8,8 +8,8 @@ package ast
import (
"fmt"
- "github.com/fd/simplex/scanner"
- "github.com/fd/simplex/token"
+ "github.com/fd/simplex/lang/scanner"
+ "github.com/fd/simplex/lang/token"
"strconv"
)
@@ -9,7 +9,7 @@ package ast
import (
"bytes"
"fmt"
- "github.com/fd/simplex/token"
+ "github.com/fd/simplex/lang/token"
)
// A Scope maintains the set of named language entities declared
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -10,7 +10,7 @@ import (
"errors"
"flag"
"fmt"
- "github.com/fd/simplex/build"
+ "github.com/fd/simplex/lang/build"
"io"
"io/ioutil"
"log"
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -8,7 +8,7 @@ package main
import (
"fmt"
- "github.com/fd/simplex/build"
+ "github.com/fd/simplex/lang/build"
"os"
"path/filepath"
"regexp"
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -8,7 +8,7 @@ import (
"bytes"
"flag"
"fmt"
- "github.com/fd/simplex/build"
+ "github.com/fd/simplex/lang/build"
"io"
"log"
"os"
File renamed without changes.
File renamed without changes.
@@ -8,9 +8,9 @@ import (
"bytes"
"errors"
"fmt"
- "github.com/fd/simplex/build"
- "github.com/fd/simplex/scanner"
- "github.com/fd/simplex/token"
+ "github.com/fd/simplex/lang/build"
+ "github.com/fd/simplex/lang/scanner"
+ "github.com/fd/simplex/lang/token"
"os"
pathpkg "path"
"path/filepath"
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -7,11 +7,11 @@ package main
import (
"bytes"
"fmt"
- "github.com/fd/simplex/ast"
- "github.com/fd/simplex/build"
- "github.com/fd/simplex/doc"
- "github.com/fd/simplex/parser"
- "github.com/fd/simplex/token"
+ "github.com/fd/simplex/lang/ast"
+ "github.com/fd/simplex/lang/build"
+ "github.com/fd/simplex/lang/doc"
+ "github.com/fd/simplex/lang/parser"
+ "github.com/fd/simplex/lang/token"
"os"
"os/exec"
"path"
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -6,7 +6,7 @@ package main
import (
"fmt"
- "github.com/fd/simplex/build"
+ "github.com/fd/simplex/lang/build"
"os"
"os/exec"
"path/filepath"
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -3,7 +3,7 @@ package main
import (
"flag"
"fmt"
- "github.com/fd/simplex/compiler"
+ "github.com/fd/simplex/lang/compiler"
"os"
"strings"
)
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -8,9 +8,9 @@ package main
import (
"bytes"
- "github.com/fd/simplex/doc"
- "github.com/fd/simplex/parser"
- "github.com/fd/simplex/token"
+ "github.com/fd/simplex/lang/doc"
+ "github.com/fd/simplex/lang/parser"
+ "github.com/fd/simplex/lang/token"
"log"
"os"
pathpkg "path"
File renamed without changes.
File renamed without changes.
@@ -12,8 +12,8 @@ package main
import (
"fmt"
- "github.com/fd/simplex/scanner"
- "github.com/fd/simplex/token"
+ "github.com/fd/simplex/lang/scanner"
+ "github.com/fd/simplex/lang/token"
"io"
"regexp"
"strconv"
@@ -9,12 +9,12 @@ import (
"encoding/json"
"flag"
"fmt"
- "github.com/fd/simplex/ast"
- "github.com/fd/simplex/build"
- "github.com/fd/simplex/doc"
- "github.com/fd/simplex/format"
- "github.com/fd/simplex/printer"
- "github.com/fd/simplex/token"
+ "github.com/fd/simplex/lang/ast"
+ "github.com/fd/simplex/lang/build"
+ "github.com/fd/simplex/lang/doc"
+ "github.com/fd/simplex/lang/format"
+ "github.com/fd/simplex/lang/printer"
+ "github.com/fd/simplex/lang/token"
"io"
"io/ioutil"
"log"
@@ -42,9 +42,9 @@ import (
"bytes"
"encoding/gob"
"errors"
- "github.com/fd/simplex/ast"
- "github.com/fd/simplex/parser"
- "github.com/fd/simplex/token"
+ "github.com/fd/simplex/lang/ast"
+ "github.com/fd/simplex/lang/parser"
+ "github.com/fd/simplex/lang/token"
"index/suffixarray"
"io"
"os"
@@ -34,9 +34,9 @@ import (
_ "expvar" // to serve /debug/vars
"flag"
"fmt"
- "github.com/fd/simplex/ast"
- "github.com/fd/simplex/build"
- "github.com/fd/simplex/printer"
+ "github.com/fd/simplex/lang/ast"
+ "github.com/fd/simplex/lang/build"
+ "github.com/fd/simplex/lang/printer"
"io"
"log"
"net/http"
@@ -10,9 +10,9 @@
package main
import (
- "github.com/fd/simplex/ast"
- "github.com/fd/simplex/parser"
- "github.com/fd/simplex/token"
+ "github.com/fd/simplex/lang/ast"
+ "github.com/fd/simplex/lang/parser"
+ "github.com/fd/simplex/lang/token"
"os"
pathpkg "path"
)
File renamed without changes.
File renamed without changes.
@@ -9,7 +9,7 @@ package main
import (
"encoding/json"
"fmt"
- "github.com/fd/simplex/format"
+ "github.com/fd/simplex/lang/format"
"net/http"
)
@@ -12,8 +12,8 @@ package main
import (
"bytes"
"fmt"
- "github.com/fd/simplex/ast"
- "github.com/fd/simplex/token"
+ "github.com/fd/simplex/lang/ast"
+ "github.com/fd/simplex/lang/token"
)
type Snippet struct {
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -8,11 +8,11 @@ import (
"bytes"
"flag"
"fmt"
- "github.com/fd/simplex/ast"
- "github.com/fd/simplex/parser"
- "github.com/fd/simplex/printer"
- "github.com/fd/simplex/scanner"
- "github.com/fd/simplex/token"
+ "github.com/fd/simplex/lang/ast"
+ "github.com/fd/simplex/lang/parser"
+ "github.com/fd/simplex/lang/printer"
+ "github.com/fd/simplex/lang/scanner"
+ "github.com/fd/simplex/lang/token"
"io"
"io/ioutil"
"os"
@@ -8,11 +8,11 @@ import (
"bytes"
"flag"
"fmt"
- "github.com/fd/simplex/ast"
- "github.com/fd/simplex/parser"
- "github.com/fd/simplex/printer"
- "github.com/fd/simplex/scanner"
- "github.com/fd/simplex/token"
+ "github.com/fd/simplex/lang/ast"
+ "github.com/fd/simplex/lang/parser"
+ "github.com/fd/simplex/lang/printer"
+ "github.com/fd/simplex/lang/scanner"
+ "github.com/fd/simplex/lang/token"
"io"
"io/ioutil"
"os"
File renamed without changes.
File renamed without changes.
@@ -12,9 +12,9 @@ import (
"bytes"
"flag"
"fmt"
- "github.com/fd/simplex/ast"
- "github.com/fd/simplex/printer"
- "github.com/fd/simplex/token"
+ "github.com/fd/simplex/lang/ast"
+ "github.com/fd/simplex/lang/printer"
+ "github.com/fd/simplex/lang/token"
"io"
"os"
"path/filepath"
@@ -6,9 +6,9 @@ package main
import (
"fmt"
- "github.com/fd/simplex/ast"
- "github.com/fd/simplex/parser"
- "github.com/fd/simplex/token"
+ "github.com/fd/simplex/lang/ast"
+ "github.com/fd/simplex/lang/parser"
+ "github.com/fd/simplex/lang/token"
"os"
"reflect"
"strings"
@@ -5,8 +5,8 @@
package main
import (
- "github.com/fd/simplex/ast"
- "github.com/fd/simplex/token"
+ "github.com/fd/simplex/lang/ast"
+ "github.com/fd/simplex/lang/token"
"reflect"
)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -6,7 +6,7 @@ package scanner
import (
"fmt"
- "github.com/fd/simplex/token"
+ "github.com/fd/simplex/lang/token"
"io"
"sort"
)
View
4