Vankata453
|
ece5200d1e
`Parser`: Allow specifying custom depth for optimization
|
2 months ago |
Ingo Ruhnke
|
f217c002af
Use `enum class` for Value::Type
|
6 years ago |
Ingo Ruhnke
|
86a3476c5c
Use union-constructor instead of aggregate initialization
|
6 years ago |
Ingo Ruhnke
|
2f3be46a24
Use union-constructor instead of aggregate initialization
|
6 years ago |
Ingo Ruhnke
|
5f0eda8bb4
Renamed ...Dummy to ...Tag
|
6 years ago |
Ingo Ruhnke
|
f86cd3ab5b
Replaced memcpy() with regular elementwise copy
|
6 years ago |
Ingo Ruhnke
|
d943e45bf7
Use a named union instead of an anonymous one
|
6 years ago |
Ingo Ruhnke
|
472d896512
Added Value::append() function
|
9 years ago |
Ingo Ruhnke
|
870b444f39
Copy line number when copying Value
|
9 years ago |
Ingo Ruhnke
|
3cf2ef34cd
Include line number into sexp::TypeError
|
9 years ago |
Ingo Ruhnke
|
1709c94d17
Fixed compiler warning on 32bit
|
9 years ago |
Ingo Ruhnke
|
4afc478b0a
Use old-school initializer list instead of in-class initialisation
|
9 years ago |
Ingo Ruhnke
|
b35e51f4ed
Keep track of line numbers inside sexp::Value (very cheap, as it uses bytes previously used for padding)
|
9 years ago |
Ingo Ruhnke
|
949070afe1
Added sexp::Value::is_array()
|
9 years ago |
Ingo Ruhnke
|
a9a5a0e256
Replaced assert() with throw sexp::TypeError()
|
9 years ago |
Ingo Ruhnke
|
2bdf4d0e8e
Implemented array type
|
9 years ago |
Ingo Ruhnke
|
eeed35b6fe
Marked constructors as explicit to avoid ambiguity
|
9 years ago |
Ingo Ruhnke
|
24b0e381fc
Removed Value::as_symbol() use Value::as_string() instead
|
9 years ago |
Ingo Ruhnke
|
1f1de107b1
Added Value assignment operator, use memcpy() to create copies instead of switch()
|
9 years ago |
Ingo Ruhnke
|
bf64f6d4db
Added fancy variadic template Value::list() factory
|
9 years ago |
Ingo Ruhnke
|
a75933a528
Code cleanup
|
9 years ago |
Ingo Ruhnke
|
6075e5cbcb
Store atoms directly in Value, instead of ValueImpl, only strings and cons are allocated
|
9 years ago |
Ingo Ruhnke
|
99a65365bd
Fixed compiler warnings when compiling in Release mode
|
9 years ago |
Ingo Ruhnke
|
6c107ac68d
Added Value copy-constructor and operator==()
|
9 years ago |
Ingo Ruhnke
|
4b7a9aee53
Added Value::nil_ref() for nil return values that require a reference and can't return a temporary value
|
9 years ago |
Ingo Ruhnke
|
b9e1dccc35
Renamed sexp::SExpr to sexp::Value
|
9 years ago |