Commit Graph

33 Commits (4cd48a6e180dc7246761718468a5fe3d06b46426)

Author SHA1 Message Date
Alexander Medvednikov 42bb85197a force `mut a := ...`, do not allow `mut a = ...` 2019-06-28 15:04:41 +02:00
Alexander Medvednikov 6824e6e7db Replace all remaining C code with V in the compiler and vlib (hoorah!) 2019-06-27 23:11:27 +02:00
Henrixounez c83ebe2c66 compiler & builtin: bitshifts CAO fix and C code removal in utf8
utf8: removed bitshift cao in code

utf8: added pub on functions

utf8: byteptr to voidptr

utf8: converts voidptr to byteptr
2019-06-27 15:10:28 +02:00
Alexander Medvednikov 76bf732e63 builtin: public/private functions, remove lots of duplicate functionality
(string.eq, compare_strings, etc)
2019-06-27 13:29:31 +02:00
Alexander Medvednikov 90c0791345 replace ugly `tos2(bytes)` with `string(bytes)` 2019-06-27 12:50:02 +02:00
Alexander Medvednikov b61d2ac346 Revert "compiler & builtin: bitshifts CAO fix and C code removal in utf8"
This reverts commit 223c35ffb9.
2019-06-27 12:06:32 +02:00
Henrixounez 223c35ffb9 compiler & builtin: bitshifts CAO fix and C code removal in utf8 2019-06-27 12:01:48 +02:00
Undumendil d1a1f74d33 Make string.index() use a linear KMP search 2019-06-27 02:18:10 +02:00
Alexander Medvednikov b9011804fc Revert "removed bits C code inside utf8 builtin"
This reverts commit f6a401aa02.
2019-06-27 02:12:28 +02:00
Henrixounez f6a401aa02 removed bits C code inside utf8 builtin 2019-06-27 02:10:15 +02:00
Robin Martijn a409a60b11 string.reverse() (#641) 2019-06-27 02:03:19 +02:00
S-YOU d998313bb1 fix tests 2019-06-26 19:37:02 +02:00
Ryota.I (yabu) 61e4367aa8 👍 Fix up redundant type declare and remove space (#603) 2019-06-26 16:39:40 +02:00
Alexander Medvednikov 54bcbe0708 remove smap.v, it was not supposed to be released 2019-06-25 21:22:50 +02:00
Xiphin 0c8afdfe13 Fix Issues #553 2019-06-25 15:46:35 +02:00
Alexander Medvednikov e566e750a3 array_test.v, base64_test.v 2019-06-25 15:32:49 +02:00
Alexander Medvednikov 48d65d6881 replace to_i() with int() everywhere 2019-06-25 14:57:31 +02:00
Bowero c84318bf6b Removed float types 2019-06-25 14:53:56 +02:00
Bowero 90c55cd4dc Added different functions for casting to integers and strings 2019-06-25 14:53:56 +02:00
Undumendil 877f9e7070 Added free() method for StringBuilder 2019-06-25 00:26:11 +02:00
Eli José Carrasquero 229417244d Add exists method to map 2019-06-25 00:25:39 +02:00
Kevin Wang 86b71bf2ce Fix calloc alloc wrong size 2019-06-24 12:30:36 +02:00
hiroaki.takeo 35b15b9481 add keys fn. 2019-06-24 12:29:28 +02:00
Alvydas Vitkauskas 00594462c4 fix string comparison functions 2019-06-24 00:30:26 +02:00
fuyutarow ebc3fb9378 Remove debug statement 2019-06-24 00:14:58 +02:00
Aurélien Foucault b6948ad9af Replace le and ge by lt and gt in compare_strings to have the excepted behavior of the function 2019-06-23 19:22:09 +02:00
Alexander Medvednikov 9cde09126b fix exit code 2019-06-23 10:15:30 +02:00
Alexander Medvednikov 06a4dfa290 replace silly `exit(reason string)` with `exit(code int)` 2019-06-23 10:14:37 +02:00
Alexander Medvednikov 20b5c4b88b Remove println2 2019-06-23 10:03:03 +02:00
chai2010 978ec58fe3 all: add copyright 2019-06-23 09:22:49 +02:00
Alexander Medvednikov 6b941e5e70 string_test.v 2019-06-23 03:13:11 +02:00
musou1500 a32d48e0e0 make string.str and array.data public 2019-06-23 00:43:04 +02:00
Alexander Medvednikov d32e538073 V 0.0.12 open-source release 2019-06-22 20:20:28 +02:00