prism-cli 0.0.7 → 0.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. checksums.yaml +4 -4
  2. data/bin/prism +8 -49
  3. data/build/bundle.js +6206 -0
  4. data/build/bundle.wasm +0 -0
  5. data/build/bundle.wasm.map +1 -0
  6. data/build/bundle.wast +618101 -0
  7. data/{dist → build}/prism.js +64 -17
  8. data/src/prism.rb +39 -0
  9. data/wasm-server.js +78 -2
  10. metadata +26 -58
  11. data/main.c +0 -127
  12. data/mruby/build/emscripten/lib/libmruby.a +0 -0
  13. data/mruby/include/mrbconf.h +0 -149
  14. data/mruby/include/mruby.h +0 -1291
  15. data/mruby/include/mruby/array.h +0 -296
  16. data/mruby/include/mruby/boxing_nan.h +0 -102
  17. data/mruby/include/mruby/boxing_no.h +0 -56
  18. data/mruby/include/mruby/boxing_word.h +0 -144
  19. data/mruby/include/mruby/class.h +0 -97
  20. data/mruby/include/mruby/common.h +0 -77
  21. data/mruby/include/mruby/compile.h +0 -195
  22. data/mruby/include/mruby/data.h +0 -76
  23. data/mruby/include/mruby/debug.h +0 -66
  24. data/mruby/include/mruby/dump.h +0 -196
  25. data/mruby/include/mruby/error.h +0 -75
  26. data/mruby/include/mruby/gc.h +0 -91
  27. data/mruby/include/mruby/hash.h +0 -229
  28. data/mruby/include/mruby/irep.h +0 -75
  29. data/mruby/include/mruby/istruct.h +0 -47
  30. data/mruby/include/mruby/khash.h +0 -274
  31. data/mruby/include/mruby/numeric.h +0 -161
  32. data/mruby/include/mruby/object.h +0 -44
  33. data/mruby/include/mruby/opcode.h +0 -69
  34. data/mruby/include/mruby/ops.h +0 -117
  35. data/mruby/include/mruby/proc.h +0 -131
  36. data/mruby/include/mruby/range.h +0 -73
  37. data/mruby/include/mruby/re.h +0 -16
  38. data/mruby/include/mruby/string.h +0 -450
  39. data/mruby/include/mruby/throw.h +0 -55
  40. data/mruby/include/mruby/value.h +0 -313
  41. data/mruby/include/mruby/variable.h +0 -141
  42. data/mruby/include/mruby/version.h +0 -110
@@ -1,110 +0,0 @@
1
- /*
2
- ** mruby/version.h - mruby version definition
3
- **
4
- ** See Copyright Notice in mruby.h
5
- */
6
-
7
- #ifndef MRUBY_VERSION_H
8
- #define MRUBY_VERSION_H
9
-
10
- #include "common.h"
11
-
12
- /**
13
- * mruby version definition macros
14
- */
15
- MRB_BEGIN_DECL
16
-
17
- /*
18
- * A passed in expression.
19
- */
20
- #define MRB_STRINGIZE0(expr) #expr
21
-
22
- /*
23
- * Passes in an expression to MRB_STRINGIZE0.
24
- */
25
- #define MRB_STRINGIZE(expr) MRB_STRINGIZE0(expr)
26
-
27
- /*
28
- * The version of Ruby used by mruby.
29
- */
30
- #define MRUBY_RUBY_VERSION "2.0"
31
-
32
- /*
33
- * Ruby engine.
34
- */
35
- #define MRUBY_RUBY_ENGINE "mruby"
36
-
37
- /*
38
- * Major release version number.
39
- */
40
- #define MRUBY_RELEASE_MAJOR 2
41
-
42
- /*
43
- * Minor release version number.
44
- */
45
- #define MRUBY_RELEASE_MINOR 0
46
-
47
- /*
48
- * Tiny release version number.
49
- */
50
- #define MRUBY_RELEASE_TEENY 1
51
-
52
- /*
53
- * The mruby version.
54
- */
55
- #define MRUBY_VERSION MRB_STRINGIZE(MRUBY_RELEASE_MAJOR) "." MRB_STRINGIZE(MRUBY_RELEASE_MINOR) "." MRB_STRINGIZE(MRUBY_RELEASE_TEENY)
56
-
57
- /*
58
- * Release number.
59
- */
60
- #define MRUBY_RELEASE_NO (MRUBY_RELEASE_MAJOR * 100 * 100 + MRUBY_RELEASE_MINOR * 100 + MRUBY_RELEASE_TEENY)
61
-
62
- /*
63
- * Release year.
64
- */
65
- #define MRUBY_RELEASE_YEAR 2019
66
-
67
- /*
68
- * Release month.
69
- */
70
- #define MRUBY_RELEASE_MONTH 4
71
-
72
- /*
73
- * Release day.
74
- */
75
- #define MRUBY_RELEASE_DAY 4
76
-
77
- /*
78
- * Release date as a string.
79
- */
80
- #define MRUBY_RELEASE_DATE MRB_STRINGIZE(MRUBY_RELEASE_YEAR) "-" MRB_STRINGIZE(MRUBY_RELEASE_MONTH) "-" MRB_STRINGIZE(MRUBY_RELEASE_DAY)
81
-
82
- /*
83
- * The year mruby was first created.
84
- */
85
- #define MRUBY_BIRTH_YEAR 2010
86
-
87
- /*
88
- * MRuby's authors.
89
- */
90
- #define MRUBY_AUTHOR "mruby developers"
91
-
92
- /*
93
- * mruby's version, and release date.
94
- */
95
- #define MRUBY_DESCRIPTION \
96
- "mruby " MRUBY_VERSION \
97
- " (" MRUBY_RELEASE_DATE ") " \
98
-
99
- /*
100
- * mruby's copyright information.
101
- */
102
- #define MRUBY_COPYRIGHT \
103
- "mruby - Copyright (c) " \
104
- MRB_STRINGIZE(MRUBY_BIRTH_YEAR)"-" \
105
- MRB_STRINGIZE(MRUBY_RELEASE_YEAR)" " \
106
- MRUBY_AUTHOR \
107
-
108
- MRB_END_DECL
109
-
110
- #endif /* MRUBY_VERSION_H */