Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

the big rename: official source file extension is now .jl

closes #407
  • Loading branch information...
commit 50ede5087ac7ec98e420ac4d07e049e3d262f22b 1 parent 0f3dbc4
Jeff Bezanson JeffBezanson authored
Showing with 120 additions and 120 deletions.
  1. +9 −9 Makefile
  2. 0  attic/doc/{ipc.j → ipc.jl}
  3. 0  attic/doc/{quickstart.j → quickstart.jl}
  4. 0  attic/{ec2.j → ec2.jl}
  5. 0  attic/{vcloud.j → vcloud.jl}
  6. 0  examples/{bigfib.j → bigfib.jl}
  7. 0  examples/{bitvector.j → bitvector.jl}
  8. 0  examples/{blksvd.j → blksvd.jl}
  9. 0  examples/{colorimetry.j → colorimetry.jl}
  10. 0  examples/{dsparsemat.j → dsparsemat.jl}
  11. 0  examples/{graph.j → graph.jl}
  12. 0  examples/{image.j → image.jl}
  13. 0  examples/{list.j → list.jl}
  14. 0  examples/{math_openlibm.j → math_openlibm.jl}
  15. 0  examples/{median.j → median.jl}
  16. 0  examples/{ndgrid.j → ndgrid.jl}
  17. 0  examples/{ndrange.j → ndrange.jl}
  18. 0  examples/{preduce.j → preduce.jl}
  19. 0  examples/{quaternion.j → quaternion.jl}
  20. 0  examples/{queue.j → queue.jl}
  21. 0  examples/rmt/{chapter1.j → chapter1.jl}
  22. 0  examples/rmt/{chapter2.j → chapter2.jl}
  23. 0  examples/{specfun.j → specfun.jl}
  24. 0  examples/{tree.j → tree.jl}
  25. 0  examples/{wordcount.j → wordcount.jl}
  26. 0  examples/{ziggurat.j → ziggurat.jl}
  27. 0  {j → jl}/.gitignore
  28. +5 −5 {j → jl}/Makefile
  29. +1 −1  j/abstractarray.j → jl/abstractarray.jl
  30. +1 −1  j/array.j → jl/array.jl
  31. +1 −1  j/ascii.j → jl/ascii.jl
  32. 0  j/base.j → jl/base.jl
  33. 0  j/bigint.j → jl/bigint.jl
  34. 0  j/bool.j → jl/bool.jl
  35. 0  j/cell.j → jl/cell.jl
  36. 0  j/char.j → jl/char.jl
  37. +4 −4 j/client.j → jl/client.jl
  38. 0  j/combinatorics.j → jl/combinatorics.jl
  39. 0  j/complex.j → jl/complex.jl
  40. 0  j/darray.j → jl/darray.jl
  41. 0  j/datafmt.j → jl/datafmt.jl
  42. 0  j/env.j → jl/env.jl
  43. 0  j/error.j → jl/error.jl
  44. 0  j/expr.j → jl/expr.jl
  45. 0  j/float.j → jl/float.jl
  46. 0  j/floatfuncs.j → jl/floatfuncs.jl
  47. 0  j/grisu.j → jl/grisu.jl
  48. +4 −4 j/inference.j → jl/inference.jl
  49. 0  j/int.j → jl/int.jl
  50. 0  j/intfuncs.j → jl/intfuncs.jl
  51. 0  j/intset.j → jl/intset.jl
  52. 0  j/io.j → jl/io.jl
  53. 0  j/iterator.j → jl/iterator.jl
  54. 0  j/latin1.j → jl/latin1.jl
  55. 0  j/libc.j → jl/libc.jl
  56. +2 −2 j/linalg.j → jl/linalg.jl
  57. 0  j/linalg_arpack.j → jl/linalg_arpack.jl
  58. 0  j/linalg_blas.j → jl/linalg_blas.jl
  59. 0  j/linalg_lapack.j → jl/linalg_lapack.jl
  60. 0  j/linalg_suitesparse.j → jl/linalg_suitesparse.jl
  61. 0  j/math.j → jl/math.jl
  62. 0  j/math_libm.j → jl/math_libm.jl
  63. +2 −2 j/multi.j → jl/multi.jl
  64. 0  j/number.j → jl/number.jl
  65. 0  j/ode.j → jl/ode.jl
  66. 0  j/operators.j → jl/operators.jl
  67. +1 −1  j/pcre.j → jl/pcre.jl
  68. 0  j/pointer.j → jl/pointer.jl
  69. 0  j/printf.j → jl/printf.jl
  70. 0  j/process.j → jl/process.jl
  71. 0  j/promotion.j → jl/promotion.jl
  72. 0  j/random.j → jl/random.jl
  73. 0  j/range.j → jl/range.jl
  74. 0  j/rational.j → jl/rational.jl
  75. 0  j/reduce.j → jl/reduce.jl
  76. +1 −1  j/regex.j → jl/regex.jl
  77. 0  j/serialize.j → jl/serialize.jl
  78. 0  j/set.j → jl/set.jl
  79. 0  j/show.j → jl/show.jl
  80. 0  j/signal.j → jl/signal.jl
  81. 0  j/signal_fftw.j → jl/signal_fftw.jl
  82. 0  j/sort.j → jl/sort.jl
  83. 0  j/sparse.j → jl/sparse.jl
  84. +2 −2 j/stage0.j → jl/stage0.jl
  85. +2 −2 j/stage1.j → jl/stage1.jl
  86. 0  j/start_image.j → jl/start_image.jl
  87. 0  j/statistics.j → jl/statistics.jl
  88. 0  j/string.j → jl/string.jl
  89. 0  j/subarray.j → jl/subarray.jl
  90. +61 −61 j/sysimg.j → jl/sysimg.jl
  91. 0  j/table.j → jl/table.jl
  92. 0  j/task.j → jl/task.jl
  93. 0  j/tuple.j → jl/tuple.jl
  94. 0  j/utf32.j → jl/utf32.jl
  95. +1 −1  j/utf8.j → jl/utf8.jl
  96. +1 −1  j/util.j → jl/util.jl
  97. 0  j/version.j → jl/version.jl
  98. 0  src/{boot.j → boot.jl}
  99. +2 −2 src/builtins.c
  100. +2 −2 src/init.c
  101. +3 −3 test/Makefile
  102. +0 −2  test/all.j
  103. +2 −0  test/all.jl
  104. 0  test/{amos.j → amos.jl}
  105. 0  test/{arpack.j → arpack.jl}
  106. 0  test/{arrayops.j → arrayops.jl}
  107. 0  test/bench/{hpl_par.j → hpl_par.jl}
  108. 0  test/bench/{hpl_seq.j → hpl_seq.jl}
  109. +1 −1  test/{bigint.j → bigint.jl}
  110. 0  test/{core.j → core.jl}
  111. 0  test/{corelib.j → corelib.jl}
  112. 0  test/{default.j → default.jl}
  113. 0  test/{extra.j → extra.jl}
  114. 0  test/{fft.j → fft.jl}
  115. +6 −6 test/{functional.j → functional.jl}
  116. 0  test/{hashing.j → hashing.jl}
  117. 0  test/{lapack.j → lapack.jl}
  118. 0  test/{numbers.j → numbers.jl}
  119. +0 −1  test/perf.j
  120. +1 −0  test/perf.jl
  121. +1 −1  test/perf/Makefile
  122. 0  test/perf/{perf.j → perf.jl}
  123. 0  test/{perf_cat.j → perf_cat.jl}
  124. 0  test/{random.j → random.jl}
  125. +1 −1  test/{runtests.j → runtests.jl}
  126. 0  test/{sparse.j → sparse.jl}
  127. 0  test/{strings.j → strings.jl}
  128. 0  test/{unicode.j → unicode.jl}
  129. 0  ui/webserver/{julia_web.j → julia_web.jl}
  130. +1 −1  ui/webserver/{julia_web_base.j → julia_web_base.jl}
  131. +2 −2 ui/webserver/webserver.cpp
18 Makefile
View
@@ -9,26 +9,26 @@ julia-debug julia-release:
@$(MAKE) -sC external
@$(MAKE) -sC src lib$@
@$(MAKE) -sC ui $@
- @$(MAKE) -sC j
+ @$(MAKE) -sC jl
@ln -f $@-$(DEFAULT_REPL) julia
-sys0.ji: src/boot.j src/dump.c j/stage0.j
- $(QUIET_JULIA) ./julia -b stage0.j
+sys0.ji: src/boot.jl src/dump.c jl/stage0.jl
+ $(QUIET_JULIA) ./julia -b stage0.jl
@rm -f sys.ji
# if sys.ji exists, use it to rebuild, otherwise use sys0.ji
-sys.ji: VERSION sys0.ji j/stage1.j j/sysimg.j j/start_image.j j/*.j
- $(QUIET_JULIA) ./julia `test -f sys.ji && echo stage1.j || echo -J sys0.ji stage1.j`
+sys.ji: VERSION sys0.ji jl/stage1.jl jl/sysimg.jl jl/start_image.jl jl/*.jl
+ $(QUIET_JULIA) ./julia `test -f sys.ji && echo stage1.jl || echo -J sys0.ji stage1.jl`
install: release
install -d $(DESTDIR)$(PREFIX)/share/julia/lib
- install -d $(DESTDIR)$(PREFIX)/share/julia/j
+ install -d $(DESTDIR)$(PREFIX)/share/julia/jl
install -d $(DESTDIR)$(PREFIX)/share/julia/contrib
install -d $(DESTDIR)$(PREFIX)/share/julia/examples
install -v julia* $(DESTDIR)$(PREFIX)/share/julia
install -v sys.ji $(DESTDIR)$(PREFIX)/share/julia
- install -v j/* $(DESTDIR)$(PREFIX)/share/julia/j
- install -v examples/*.j $(DESTDIR)$(PREFIX)/share/julia/examples
+ install -v jl/* $(DESTDIR)$(PREFIX)/share/julia/jl
+ install -v examples/*.jl $(DESTDIR)$(PREFIX)/share/julia/examples
install -v lib/libarpack.$(SHLIB_EXT) lib/libfdm.$(SHLIB_EXT) lib/libfftw3.$(SHLIB_EXT)* lib/libfftw3f.$(SHLIB_EXT)* lib/libpcre.$(SHLIB_EXT)* lib/libpcrecpp.$(SHLIB_EXT)* lib/libpcreposix.$(SHLIB_EXT)* lib/librandom.$(SHLIB_EXT) lib/liblapack.$(SHLIB_EXT) lib/libsuitesparse*$(SHLIB_EXT) lib/libgrisu.$(SHLIB_EXT) lib/libamos.$(SHLIB_EXT) $(DESTDIR)$(PREFIX)/share/julia/lib
dist: release
@@ -50,7 +50,7 @@ clean:
@rm -f *~ *#
@rm -f sys0.ji
@rm -f sys.ji
- @$(MAKE) -sC j clean
+ @$(MAKE) -sC jl clean
@$(MAKE) -sC src clean
@$(MAKE) -sC ui clean
@$(MAKE) -sC ui/webserver clean
0  attic/doc/ipc.j → attic/doc/ipc.jl
View
File renamed without changes
0  attic/doc/quickstart.j → attic/doc/quickstart.jl
View
File renamed without changes
0  attic/ec2.j → attic/ec2.jl
View
File renamed without changes
0  attic/vcloud.j → attic/vcloud.jl
View
File renamed without changes
0  examples/bigfib.j → examples/bigfib.jl
View
File renamed without changes
0  examples/bitvector.j → examples/bitvector.jl
View
File renamed without changes
0  examples/blksvd.j → examples/blksvd.jl
View
File renamed without changes
0  examples/colorimetry.j → examples/colorimetry.jl
View
File renamed without changes
0  examples/dsparsemat.j → examples/dsparsemat.jl
View
File renamed without changes
0  examples/graph.j → examples/graph.jl
View
File renamed without changes
0  examples/image.j → examples/image.jl
View
File renamed without changes
0  examples/list.j → examples/list.jl
View
File renamed without changes
0  examples/math_openlibm.j → examples/math_openlibm.jl
View
File renamed without changes
0  examples/median.j → examples/median.jl
View
File renamed without changes
0  examples/ndgrid.j → examples/ndgrid.jl
View
File renamed without changes
0  examples/ndrange.j → examples/ndrange.jl
View
File renamed without changes
0  examples/preduce.j → examples/preduce.jl
View
File renamed without changes
0  examples/quaternion.j → examples/quaternion.jl
View
File renamed without changes
0  examples/queue.j → examples/queue.jl
View
File renamed without changes
0  examples/rmt/chapter1.j → examples/rmt/chapter1.jl
View
File renamed without changes
0  examples/rmt/chapter2.j → examples/rmt/chapter2.jl
View
File renamed without changes
0  examples/specfun.j → examples/specfun.jl
View
File renamed without changes
0  examples/tree.j → examples/tree.jl
View
File renamed without changes
0  examples/wordcount.j → examples/wordcount.jl
View
File renamed without changes
0  examples/ziggurat.j → examples/ziggurat.jl
View
File renamed without changes
0  j/.gitignore → jl/.gitignore
View
File renamed without changes
10 j/Makefile → jl/Makefile
View
@@ -3,15 +3,15 @@ include ../Make.inc
PCRE_CONST = 0x[0-9a-fA-F]+|[-+]?\s*[0-9]+
-all: pcre_h.j errno_h.j
+all: pcre_h.jl errno_h.jl
-pcre_h.j:
+pcre_h.jl:
$(QUIET_PERL) cpp -dM $(shell $(PCRE_CONFIG) --prefix)/include/pcre.h | perl -nle '/^\s*#define\s+(PCRE\w*)\s*\(?($(PCRE_CONST))\)?\s*$$/ and print "const $$1 = int32($$2)"' | sort > $@
-errno_h.j:
+errno_h.jl:
$(QUIET_PERL) echo '#include "errno.h"' | cpp -dM - | perl -nle 'print "const $$1 = int32($$2)" if /^#define\s+(E\w+)\s+(\d+)\s*$$/' | sort > $@
clean:
rm -f *# *~
- rm -f pcre_h.j
- rm -f errno_h.j
+ rm -f pcre_h.jl
+ rm -f errno_h.jl
2  j/abstractarray.j → jl/abstractarray.jl
View
@@ -1,4 +1,4 @@
-## abstractarray.j : Generic array interfaces.
+## abstractarray.jl : Generic array interfaces.
## Type aliases for convenience ##
2  j/array.j → jl/array.jl
View
@@ -1,4 +1,4 @@
-## array.j: Dense arrays
+## array.jl: Dense arrays
typealias Vector{T} Array{T,1}
typealias Matrix{T} Array{T,2}
2  j/ascii.j → jl/ascii.jl
View
@@ -1,4 +1,4 @@
-## from src/boot.j
+## from src/boot.jl
# type ASCIIString <: DirectIndexString; data::Array{Uint8,1}; end
## required core functionality ##
0  j/base.j → jl/base.jl
View
File renamed without changes
0  j/bigint.j → jl/bigint.jl
View
File renamed without changes
0  j/bool.j → jl/bool.jl
View
File renamed without changes
0  j/cell.j → jl/cell.jl
View
File renamed without changes
0  j/char.j → jl/char.jl
View
File renamed without changes
8 j/client.j → jl/client.jl
View
@@ -1,5 +1,5 @@
-## client.j - frontend handling command line options, environment setup,
-## and REPL
+## client.jl - frontend handling command line options, environment setup,
+## and REPL
const _jl_color_normal = "\033[0m"
@@ -196,10 +196,10 @@ function _start()
end
global const VARIABLES = {}
- global const LOAD_PATH = String["", "$JULIA_HOME/", "$JULIA_HOME/j/"]
+ global const LOAD_PATH = String["", "$JULIA_HOME/", "$JULIA_HOME/jl/"]
# Load customized startup
- try include(strcat(getcwd(),"/startup.j")) end
+ try include(strcat(getcwd(),"/startup.jl")) end
try include(strcat(ENV["HOME"],"/.juliarc")) end
(quiet,repl) = process_options(ARGS)
0  j/combinatorics.j → jl/combinatorics.jl
View
File renamed without changes
0  j/complex.j → jl/complex.jl
View
File renamed without changes
0  j/darray.j → jl/darray.jl
View
File renamed without changes
0  j/datafmt.j → jl/datafmt.jl
View
File renamed without changes
0  j/env.j → jl/env.jl
View
File renamed without changes
0  j/error.j → jl/error.jl
View
File renamed without changes
0  j/expr.j → jl/expr.jl
View
File renamed without changes
0  j/float.j → jl/float.jl
View
File renamed without changes
0  j/floatfuncs.j → jl/floatfuncs.jl
View
File renamed without changes
0  j/grisu.j → jl/grisu.jl
View
File renamed without changes
8 j/inference.j → jl/inference.jl
View
@@ -674,7 +674,7 @@ function _jl_abstract_interpret(e::Expr, vtypes, sv::StaticVarInfo)
if isa(lhs,SymbolNode)
lhs = lhs.name
end
- assert(isa(lhs,Symbol), "inference.j:579")
+ assert(isa(lhs,Symbol), "inference.jl:579")
return StateUpdate(lhs, t, vtypes)
elseif is(e.head,:call) || is(e.head,:call1)
abstract_eval(e, vtypes, sv)
@@ -884,7 +884,7 @@ function typeinf(linfo::LambdaStaticData,atypes::Tuple,sparams::Tuple, def, cop)
args = f_argnames(ast)
la = length(args)
- assert(is(ast.head,:lambda), "inference.j:745")
+ assert(is(ast.head,:lambda), "inference.jl:745")
locals = (ast.args[2][1])::Array{Any,1}
vars = append(args, locals)
body = (ast.args[3].args)::Array{Any,1}
@@ -1326,8 +1326,8 @@ function inlineable(f, e::Expr, vars)
if length(body) != 1
return NF
end
- assert(isa(body[1],Expr), "inference.j:1050")
- assert(is(body[1].head,:return), "inference.j:1051")
+ assert(isa(body[1],Expr), "inference.jl:1050")
+ assert(is(body[1].head,:return), "inference.jl:1051")
# check for vararg function
args = f_argnames(ast)
na = length(args)
0  j/int.j → jl/int.jl
View
File renamed without changes
0  j/intfuncs.j → jl/intfuncs.jl
View
File renamed without changes
0  j/intset.j → jl/intset.jl
View
File renamed without changes
0  j/io.j → jl/io.jl
View
File renamed without changes
0  j/iterator.j → jl/iterator.jl
View
File renamed without changes
0  j/latin1.j → jl/latin1.jl
View
File renamed without changes
0  j/libc.j → jl/libc.jl
View
File renamed without changes
4 j/linalg.j → jl/linalg.jl
View
@@ -1,4 +1,4 @@
-## linalg.j: Basic Linear Algebra functions ##
+## linalg.jl: Basic Linear Algebra functions ##
aCb(x::AbstractVector, y::AbstractVector) = [dot(x, y)]
aTb{T<:Real}(x::AbstractVector{T}, y::AbstractVector{T}) = [dot(x, y)]
@@ -14,7 +14,7 @@ end
cross(a::AbstractVector, b::AbstractVector) =
[a[2]*b[3]-a[3]*b[2], a[3]*b[1]-a[1]*b[3], a[1]*b[2]-a[2]*b[1]]
-# blas.j defines matmul for floats; other integer and mixed precision
+# blas.jl defines matmul for floats; other integer and mixed precision
# cases are handled here
# TODO: It will be faster for large matrices to convert to float,
0  j/linalg_arpack.j → jl/linalg_arpack.jl
View
File renamed without changes
0  j/linalg_blas.j → jl/linalg_blas.jl
View
File renamed without changes
0  j/linalg_lapack.j → jl/linalg_lapack.jl
View
File renamed without changes
0  j/linalg_suitesparse.j → jl/linalg_suitesparse.jl
View
File renamed without changes
0  j/math.j → jl/math.jl
View
File renamed without changes
0  j/math_libm.j → jl/math_libm.jl
View
File renamed without changes
4 j/multi.j → jl/multi.jl
View
@@ -1,4 +1,4 @@
-## multi.j - multiprocessing
+## multi.jl - multiprocessing
##
## julia starts with one process, and processors can be added using:
## addprocs_local(n) using exec
@@ -1092,7 +1092,7 @@ end
addprocs_sge(n) = add_workers(PGRP, start_sge_workers(n))
SGE(n) = addprocs_sge(n)
-#include("vcloud.j")
+#include("vcloud.jl")
## global objects and collective operations ##
0  j/number.j → jl/number.jl
View
File renamed without changes
0  j/ode.j → jl/ode.jl
View
File renamed without changes
0  j/operators.j → jl/operators.jl
View
File renamed without changes
2  j/pcre.j → jl/pcre.jl
View
@@ -1,6 +1,6 @@
## low-level pcre interface ##
-include("pcre_h.j")
+include("pcre_h.jl")
_jl_libpcre = dlopen("libpcre")
0  j/pointer.j → jl/pointer.jl
View
File renamed without changes
0  j/printf.j → jl/printf.jl
View
File renamed without changes
0  j/process.j → jl/process.jl
View
File renamed without changes
0  j/promotion.j → jl/promotion.jl
View
File renamed without changes
0  j/random.j → jl/random.jl
View
File renamed without changes
0  j/range.j → jl/range.jl
View
File renamed without changes
0  j/rational.j → jl/rational.jl
View
File renamed without changes
0  j/reduce.j → jl/reduce.jl
View
File renamed without changes
2  j/regex.j → jl/regex.jl
View
@@ -1,4 +1,4 @@
-include("pcre.j")
+include("pcre.jl")
## object-oriented Regex interface ##
0  j/serialize.j → jl/serialize.jl
View
File renamed without changes
0  j/set.j → jl/set.jl
View
File renamed without changes
0  j/show.j → jl/show.jl
View
File renamed without changes
0  j/signal.j → jl/signal.jl
View
File renamed without changes
0  j/signal_fftw.j → jl/signal_fftw.jl
View
File renamed without changes
0  j/sort.j → jl/sort.jl
View
File renamed without changes
0  j/sparse.j → jl/sparse.jl
View
File renamed without changes
4 j/stage0.j → jl/stage0.jl
View
@@ -27,9 +27,9 @@ if true
end
end
-include("sysimg.j")
+include("sysimg.jl")
ccall(:jl_save_system_image, Void, (Ptr{Uint8},Ptr{Uint8}),
- cstring("sys0.ji"), cstring("j/start_image.j"))
+ cstring("sys0.ji"), cstring("jl/start_image.jl"))
end # module
4 j/stage1.j → jl/stage1.jl
View
@@ -1,6 +1,6 @@
module NewSystem
-include("sysimg.j")
+include("sysimg.jl")
# invoke type inference, running the existing inference code on the new
# inference code to cache an optimized version of it.
@@ -11,6 +11,6 @@ begin
end
ccall(:jl_save_system_image, Void, (Ptr{Uint8},Ptr{Uint8}),
- cstring("sys.ji"), cstring("j/start_image.j"))
+ cstring("sys.ji"), cstring("jl/start_image.jl"))
end # module
0  j/start_image.j → jl/start_image.jl
View
File renamed without changes
0  j/statistics.j → jl/statistics.jl
View
File renamed without changes
0  j/string.j → jl/string.jl
View
File renamed without changes
0  j/subarray.j → jl/subarray.jl
View
File renamed without changes
122 j/sysimg.j → jl/sysimg.jl
View
@@ -1,99 +1,99 @@
## Load essential files and libraries
-include("base.j")
+include("base.jl")
# core operations & types
-include("range.j")
-include("tuple.j")
-include("cell.j")
-include("expr.j")
-include("error.j")
+include("range.jl")
+include("tuple.jl")
+include("cell.jl")
+include("expr.jl")
+include("error.jl")
# core numeric operations & types
-include("bool.j")
-include("number.j")
-include("int.j")
-include("promotion.j")
-include("operators.j")
-include("float.j")
-include("pointer.j")
-include("char.j")
-include("reduce.j")
-include("complex.j")
-include("rational.j")
+include("bool.jl")
+include("number.jl")
+include("int.jl")
+include("promotion.jl")
+include("operators.jl")
+include("float.jl")
+include("pointer.jl")
+include("char.jl")
+include("reduce.jl")
+include("complex.jl")
+include("rational.jl")
# core data structures (used by type inference)
-include("abstractarray.j")
-include("subarray.j")
-include("array.j")
-include("intset.j")
-include("table.j")
-include("set.j")
+include("abstractarray.jl")
+include("subarray.jl")
+include("array.jl")
+include("intset.jl")
+include("table.jl")
+include("set.jl")
# compiler
-include("inference.j")
+include("inference.jl")
# I/O, strings & printing
-include("io.j")
+include("io.jl")
#set_current_output_stream(make_stdout_stream()) # for error reporting
-include("string.j")
-include("ascii.j")
-include("utf8.j")
-include("regex.j")
-include("show.j")
-include("grisu.j")
-include("printf.j")
+include("string.jl")
+include("ascii.jl")
+include("utf8.jl")
+include("regex.jl")
+include("show.jl")
+include("grisu.jl")
+include("printf.jl")
# system & environment
-include("libc.j")
-include("env.j")
-include("errno_h.j")
+include("libc.jl")
+include("env.jl")
+include("errno_h.jl")
# concurrency and parallelism
-include("iterator.j")
-include("task.j")
-include("process.j")
-include("serialize.j")
-include("multi.j")
+include("iterator.jl")
+include("task.jl")
+include("process.jl")
+include("serialize.jl")
+include("multi.jl")
# front end
-include("client.j")
+include("client.jl")
# core math functions
-include("intfuncs.j")
-include("floatfuncs.j")
-include("math.j")
-include("math_libm.j")
-include("sort.j")
-include("combinatorics.j")
-include("statistics.j")
+include("intfuncs.jl")
+include("floatfuncs.jl")
+include("math.jl")
+include("math_libm.jl")
+include("sort.jl")
+include("combinatorics.jl")
+include("statistics.jl")
# random number generation
-include("random.j")
+include("random.jl")
# sparse matrices
-include("sparse.j")
+include("sparse.jl")
# distributed arrays
-include("darray.j")
+include("darray.jl")
# utilities - version, timing, help, edit
-include("version.j")
-include("util.j")
-include("datafmt.j")
+include("version.jl")
+include("util.jl")
+include("datafmt.jl")
## Load optional external libraries
# linear algebra
-include("linalg.j")
-include("linalg_blas.j")
-include("linalg_lapack.j")
-include("linalg_arpack.j")
-include("linalg_suitesparse.j")
+include("linalg.jl")
+include("linalg_blas.jl")
+include("linalg_lapack.jl")
+include("linalg_arpack.jl")
+include("linalg_suitesparse.jl")
# signal processing
-include("signal.j")
-include("signal_fftw.j")
+include("signal.jl")
+include("signal_fftw.jl")
# prime method cache with some things we know we'll need right after startup
0  j/table.j → jl/table.jl
View
File renamed without changes
0  j/task.j → jl/task.jl
View
File renamed without changes
0  j/tuple.j → jl/tuple.jl
View
File renamed without changes
0  j/utf32.j → jl/utf32.jl
View
File renamed without changes
2  j/utf8.j → jl/utf8.jl
View
@@ -1,4 +1,4 @@
-## from src/boot.j:
+## from src/boot.jl:
# type UTF8String <: String; data::Array{Uint8,1}; end
## basic UTF-8 decoding & iteration ##
2  j/util.j → jl/util.jl
View
@@ -82,7 +82,7 @@ function_loc(f::Function) = function_loc(f, (Any...))
edit(file::String) = edit(file, 1)
function edit(file::String, line::Int)
editor = get(ENV, "JULIA_EDITOR", "emacs")
- issrc = file[end-1:end] == ".j"
+ issrc = file[end-2:end] == ".jl"
if issrc
if editor == "emacs"
jmode = "$JULIA_HOME/contrib/julia-mode.el"
0  j/version.j → jl/version.jl
View
File renamed without changes
0  src/boot.j → src/boot.jl
View
File renamed without changes
4 src/builtins.c
View
@@ -453,13 +453,13 @@ char *jl_find_file_in_path(const char *fname)
{
char *fpath = (char*)fname;
int fid = open (fpath, O_RDONLY);
- // try adding julia home, then julia_home/j/
+ // try adding julia home, then julia_home/jl/
if (fid == -1 && julia_home && fname[0] != '/') {
asprintf(&fpath, "%s/%s", julia_home, fname);
fid = open (fpath, O_RDONLY);
if (fid == -1) {
free(fpath);
- asprintf(&fpath, "%s/j/%s", julia_home, fname);
+ asprintf(&fpath, "%s/jl/%s", julia_home, fname);
fid = open (fpath, O_RDONLY);
}
}
4 src/init.c
View
@@ -126,7 +126,7 @@ void julia_init(char *imageFile)
jl_current_module = jl_base_module;
jl_init_intrinsic_functions();
jl_init_primitives();
- jl_load("src/boot.j");
+ jl_load("src/boot.jl");
jl_get_builtin_hooks();
jl_boot_file_loaded = 1;
jl_init_box_caches();
@@ -220,7 +220,7 @@ static jl_value_t *sysmod(char *name)
jl_function_t *jl_method_missing_func=NULL;
-// fetch references to things defined in boot.j
+// fetch references to things defined in boot.jl
void jl_get_builtin_hooks(void)
{
jl_nothing = base("nothing");
6 test/Makefile
View
@@ -9,13 +9,13 @@ all extra unicode::
default all extra \
core numbers strings corelib hashing arrayops \
sparse lapack fft arpack random unicode amos bigint::
- $(QUIET_JULIA) ../julia ./runtests.j $@
+ $(QUIET_JULIA) ../julia ./runtests.jl $@
perf:
ifneq ($(MAKECMDGOALS),perf)
- $(QUIET_JULIA) ../julia perf/$@.j
+ $(QUIET_JULIA) ../julia perf/$@.jl
else
- @../julia perf/$@.j | perl -nle '@_=split/,/; printf "%-14s %7.3f\n", $$_[1], $$_[2]'
+ @../julia perf/$@.jl | perl -nle '@_=split/,/; printf "%-14s %7.3f\n", $$_[1], $$_[2]'
endif
benchmark:
2  test/all.j
View
@@ -1,2 +0,0 @@
-load("default.j")
-load("extra.j")
2  test/all.jl
View
@@ -0,0 +1,2 @@
+load("default.jl")
+load("extra.jl")
0  test/amos.j → test/amos.jl
View
File renamed without changes
0  test/arpack.j → test/arpack.jl
View
File renamed without changes
0  test/arrayops.j → test/arrayops.jl
View
File renamed without changes
0  test/bench/hpl_par.j → test/bench/hpl_par.jl
View
File renamed without changes
0  test/bench/hpl_seq.j → test/bench/hpl_seq.jl
View
File renamed without changes
2  test/bigint.j → test/bigint.jl
View
@@ -1,5 +1,5 @@
-load ("../j/bigint.j")
+load ("../jl/bigint.jl")
a=BigInt("123456789012345678901234567890")
b=BigInt("123456789012345678901234567891")
0  test/core.j → test/core.jl
View
File renamed without changes
0  test/corelib.j → test/corelib.jl
View
File renamed without changes
0  test/default.j → test/default.jl
View
File renamed without changes
0  test/extra.j → test/extra.jl
View
File renamed without changes
0  test/fft.j → test/fft.jl
View
File renamed without changes
12 test/functional.j → test/functional.jl
View
@@ -1,28 +1,28 @@
# tests related to functional programming functions and styles
-# map -- array.j
+# map -- array.jl
@assert map((x)->"$x"[end:end], [9:11]) == ["9", "0", "1"]
# TODO: @assert map_to()
-# maps of tuples (formerly in test/core.j) -- tuple.j
+# maps of tuples (formerly in test/core.jl) -- tuple.jl
@assert map((x,y)->x+y,(1,2,3),(4,5,6)) == (5,7,9)
@assert map((x,y)->x+y,
(100001,100002,100003),
(100004,100005,100006)) == (200005,200007,200009)
-# maps of strings (character arrays) -- string.j
+# maps of strings (character arrays) -- string.jl
@assert map((c)->char(c+1), "abcDEF") == "bcdEFG"
-# reduce -- reduce.j
+# reduce -- reduce.jl
@assert reduce((x,y)->"($x+$y)", [9:11]) == "((9+10)+11)"
@assert reduce(max, [8 6 7 5 3 0 9]) == 9
@assert reduce(-, 1000, [1:5]) == (1000 - 1 - 2 - 3 - 4 - 5)
-# mapreduce -- reduce.j
+# mapreduce -- reduce.jl
@assert mapreduce(-, -, [-10 -9 -3]) == ((10 - 9) - 3)
@assert mapreduce((x,y)->"($x+$y)", (x)->x[1:3], ["abcd", "efgh", "01234"]) == "((abc+efg)+012)"
-# filter -- array.j
+# filter -- array.jl
@assert filter(x->(x>1), [0 1 2 3 2 1 0]) == [2, 3, 2]
# TODO: @assert_throws_error filter(x->x+1, [0 1 2 3 2 1 0]) == [2, 3, 2]
@assert filter(x->(x>10), [0 1 2 3 2 1 0]) == []
0  test/hashing.j → test/hashing.jl
View
File renamed without changes
0  test/lapack.j → test/lapack.jl
View
File renamed without changes
0  test/numbers.j → test/numbers.jl
View
File renamed without changes
1  test/perf.j
View
@@ -1 +0,0 @@
-print_to_string(@thunk load("perf/perf.j"))
1  test/perf.jl
View
@@ -0,0 +1 @@
+print_to_string(@thunk load("perf/perf.jl"))
2  test/perf/Makefile
View
@@ -13,7 +13,7 @@ benchmarks/c.csv: bin/perf0 bin/perf1 bin/perf2 bin/perf3
for t in 1 2 3 4 5; do bin/perf2; done >>$@
for t in 1 2 3 4 5; do bin/perf3; done >>$@
-benchmarks/julia.csv: perf.j
+benchmarks/julia.csv: perf.jl
for t in 1 2 3 4 5; do ../../julia $<; done >$@
benchmarks/python.csv: perf.py
0  test/perf/perf.j → test/perf/perf.jl
View
File renamed without changes
0  test/perf_cat.j → test/perf_cat.jl
View
File renamed without changes
0  test/random.j → test/random.jl
View
File renamed without changes
2  test/runtests.j → test/runtests.jl
View
@@ -1,6 +1,6 @@
function runtests(name)
println(" \033[1m*\033[0m \033[31m$(name)\033[0m")
- load("$name.j")
+ load("$name.jl")
end
function check_approx_eq(va, vb, astr, bstr)
0  test/sparse.j → test/sparse.jl
View
File renamed without changes
0  test/strings.j → test/strings.jl
View
File renamed without changes
0  test/unicode.j → test/unicode.jl
View
File renamed without changes
0  ui/webserver/julia_web.j → ui/webserver/julia_web.jl
View
File renamed without changes
2  ui/webserver/julia_web_base.j → ui/webserver/julia_web_base.jl
View
@@ -91,7 +91,7 @@ end
###########################################
# load the special functions available to the web repl
-load("./ui/webserver/julia_web.j")
+load("./ui/webserver/julia_web.jl")
###########################################
# input event handler
4 ui/webserver/webserver.cpp
View
@@ -44,7 +44,7 @@ template <class T> T from_string(const std::string& t)
class message
{
public:
- // see ui/webserver/julia_web_base.j for documentation
+ // see ui/webserver/julia_web_base.jl for documentation
uint8_t type;
vector<string> args;
};
@@ -629,7 +629,7 @@ string create_session(bool idle)
close(session_data.julia_out[1]);
// acutally spawn julia instance
- execl("./julia", "julia", "./ui/webserver/julia_web_base.j", (char*)0);
+ execl("./julia", "julia", "./ui/webserver/julia_web_base.jl", (char*)0);
// if exec failed, terminate with an error
exit(1);

1 comment on commit 50ede50

Stefan Karpinski

Woah. Huge.

Please sign in to comment.
Something went wrong with that request. Please try again.