Nicolas Sauzede
|
9d4c943d64
|
compiler: add very simple nameof token to get type name as string
|
2020-02-05 06:12:33 +01:00 |
|
Alexander Medvednikov
|
9f4661391d
|
v2: simplify the type system; an initial version of the V interpreter
|
2020-02-02 07:56:18 +01:00 |
|
Alexander Medvednikov
|
f55646746c
|
handle empty config structs
|
2020-01-24 18:57:32 +01:00 |
|
Shun Sakai
|
c8c43a2475
|
update copyright year
|
2020-01-23 21:04:46 +01:00 |
|
Alexander Medvednikov
|
6b3f54692a
|
allow short struct initialization with Config structs
|
2020-01-14 15:34:47 +01:00 |
|
Alexander Medvednikov
|
b6c0b22742
|
interfaces fixes; freetype.text_width(); gl and stbi fixes
|
2020-01-12 16:11:28 +01:00 |
|
Alexander Medvednikov
|
29564ed63d
|
interface fix
|
2020-01-09 01:40:10 +01:00 |
|
Alexander Medvednikov
|
3c0fca9258
|
register methods (wip)
|
2020-01-08 10:19:18 +01:00 |
|
joe-conigliaro
|
43895269ff
|
compiler: implement direct cast for sum type
|
2020-01-03 14:42:48 +01:00 |
|
Alexander Medvednikov
|
e7e07be38c
|
handle unknown functions; fix var types
|
2020-01-01 23:15:20 +01:00 |
|
Alexander Medvednikov
|
4d31d5882d
|
x64, v2 backends
|
2019-12-31 19:42:16 +01:00 |
|
Alexander Medvednikov
|
da5fb5dcbd
|
Revert "x64, v2 backends"
This reverts commit 81ae54d9bd .
|
2019-12-31 13:23:12 +01:00 |
|
Alexander Medvednikov
|
81ae54d9bd
|
x64, v2 backends
|
2019-12-31 13:21:22 +01:00 |
|
Alexander Medvednikov
|
cba6a6fdea
|
as casting
|
2019-12-30 10:47:34 +01:00 |
|
Alexander Medvednikov
|
b5fe40624c
|
staments + a sum type fix
|
2019-12-28 18:53:08 +01:00 |
|
joe-conigliaro
|
a214778b74
|
fix bug with sum type
|
2019-12-28 08:48:55 +01:00 |
|
Alexander Medvednikov
|
e20ca28d5c
|
fix v prod build
|
2019-12-27 07:04:41 +03:00 |
|
Alexander Medvednikov
|
0a3adb5de8
|
ast: return types, variable declaration
|
2019-12-27 07:01:22 +03:00 |
|
Alexander Medvednikov
|
ca284482cb
|
new AST built with sum types
|
2019-12-24 16:04:49 +03:00 |
|
Alexander Medvednikov
|
803ded3dec
|
sum type type Foo = Bar | Baz
|
2019-12-24 16:04:49 +03:00 |
|
Alexander Medvednikov
|
7ab993c218
|
sum types
|
2019-12-23 06:14:31 +03:00 |
|
れもん
|
28ecfb231d
|
compiler: map[string]pointer, ?pointer, fix []pointer
|
2019-12-22 01:44:16 +03:00 |
|
Alexander Medvednikov
|
ef28a6b872
|
final vfmt run before CI check
|
2019-12-22 00:58:57 +03:00 |
|
Emily Hudson
|
8512c9fc9d
|
compiler: __offsetof keyword for C offsetof() macro
|
2019-12-22 00:46:09 +03:00 |
|
joe-conigliaro
|
fbd9fedbfb
|
implement generic structs
|
2019-12-21 03:53:57 +03:00 |
|
Alexander Medvednikov
|
6210984c97
|
run vfmt
|
2019-12-20 02:09:56 +03:00 |
|
Alexander Medvednikov
|
df2f98e276
|
run vfmt on more files
|
2019-12-19 02:38:54 +03:00 |
|
BigBlack
|
67cf7f18e6
|
array of pointers support
|
2019-12-18 03:26:04 +03:00 |
|
BigBlack
|
fc33f9d49c
|
type alias check
|
2019-12-14 22:01:20 +03:00 |
|
joe-conigliaro
|
4e69c40e12
|
parser: fix use blank ident as value
|
2019-12-10 21:35:59 +03:00 |
|
Alexander Medvednikov
|
6f49d4c1d2
|
orm: bool support; vweb fixes
|
2019-12-09 23:20:29 +03:00 |
|
Alexander Medvednikov
|
8b0de95c0a
|
improve the C struct check
|
2019-12-08 04:23:22 +03:00 |
|
Alexander Medvednikov
|
6ae51b2cbf
|
handle unknown C types
|
2019-12-08 04:10:56 +03:00 |
|
Alexander Medvednikov
|
2fb7fba856
|
require else in match statements
|
2019-12-07 17:01:44 +03:00 |
|
Alexander Medvednikov
|
e3b5d7fd7c
|
rename if_st to if_statement
|
2019-12-06 19:21:26 +03:00 |
|
Alexander Medvednikov
|
c8d111924d
|
check unused and unmodified vars in all modules, not just main
|
2019-12-06 18:43:56 +03:00 |
|
Alexander Medvednikov
|
2a1b0a8cae
|
rename table.register_type2()
|
2019-12-05 14:24:25 +03:00 |
|
Delyan Angelov
|
9a6711fa1b
|
compiler: c'str' now has type charptr
|
2019-12-04 13:34:06 +03:00 |
|
Alexander Medvednikov
|
2bafd41183
|
&C.Foo(0) cast to replace &C.Foo{!} hack
|
2019-12-04 12:13:17 +03:00 |
|
Alexander Medvednikov
|
66f271f100
|
fix a string interpolation bug
|
2019-12-03 20:41:49 +03:00 |
|
Alexander Medvednikov
|
850788c4bb
|
parser: fix a bug with & and ==
|
2019-11-29 23:18:10 +03:00 |
|
Alexander Medvednikov
|
f724a956b3
|
parser: fix a & b == c precedence
|
2019-11-29 22:42:32 +03:00 |
|
joe-conigliaro
|
11aaee685a
|
generics: fix errors & simplify
|
2019-11-29 16:46:43 +03:00 |
|
ʇʞʌp
|
79a02a4c09
|
parser: make p.opt()? work for methods
|
2019-11-26 09:04:59 +03:00 |
|
Alexander Medvednikov
|
8d241cc164
|
vweb fixes; ORM fixes; freeing strings
|
2019-11-26 07:47:16 +03:00 |
|
joe-conigliaro
|
8fbfceed30
|
compiler: generics - support across modules/files
|
2019-11-22 08:22:11 +03:00 |
|
Unknown User
|
7c802f31d3
|
parser: fix unused variable warning
|
2019-11-22 05:23:01 +03:00 |
|
Swastik Baranwal
|
5d5268a53d
|
expression: add a check for raw strings
|
2019-11-16 22:15:22 +03:00 |
|
Alexander Medvednikov
|
96cde10696
|
C string literals (c'str'); bare builtin module; bare println()
|
2019-11-15 02:29:20 +03:00 |
|
Alexander Medvednikov
|
a8b5c00939
|
parser: allow << >> with enums
|
2019-11-14 22:14:14 +03:00 |
|