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.
- checksums.yaml +4 -4
- data/bin/prism +8 -49
- data/build/bundle.js +6206 -0
- data/build/bundle.wasm +0 -0
- data/build/bundle.wasm.map +1 -0
- data/build/bundle.wast +618101 -0
- data/{dist → build}/prism.js +64 -17
- data/src/prism.rb +39 -0
- data/wasm-server.js +78 -2
- metadata +26 -58
- data/main.c +0 -127
- data/mruby/build/emscripten/lib/libmruby.a +0 -0
- data/mruby/include/mrbconf.h +0 -149
- data/mruby/include/mruby.h +0 -1291
- data/mruby/include/mruby/array.h +0 -296
- data/mruby/include/mruby/boxing_nan.h +0 -102
- data/mruby/include/mruby/boxing_no.h +0 -56
- data/mruby/include/mruby/boxing_word.h +0 -144
- data/mruby/include/mruby/class.h +0 -97
- data/mruby/include/mruby/common.h +0 -77
- data/mruby/include/mruby/compile.h +0 -195
- data/mruby/include/mruby/data.h +0 -76
- data/mruby/include/mruby/debug.h +0 -66
- data/mruby/include/mruby/dump.h +0 -196
- data/mruby/include/mruby/error.h +0 -75
- data/mruby/include/mruby/gc.h +0 -91
- data/mruby/include/mruby/hash.h +0 -229
- data/mruby/include/mruby/irep.h +0 -75
- data/mruby/include/mruby/istruct.h +0 -47
- data/mruby/include/mruby/khash.h +0 -274
- data/mruby/include/mruby/numeric.h +0 -161
- data/mruby/include/mruby/object.h +0 -44
- data/mruby/include/mruby/opcode.h +0 -69
- data/mruby/include/mruby/ops.h +0 -117
- data/mruby/include/mruby/proc.h +0 -131
- data/mruby/include/mruby/range.h +0 -73
- data/mruby/include/mruby/re.h +0 -16
- data/mruby/include/mruby/string.h +0 -450
- data/mruby/include/mruby/throw.h +0 -55
- data/mruby/include/mruby/value.h +0 -313
- data/mruby/include/mruby/variable.h +0 -141
- 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 */
|