Alexander Medvednikov
|
560d1383d1
|
fix optional struct field assignment
|
2019-12-17 00:36:28 +03:00 |
|
Alexander Medvednikov
|
78131e78bc
|
fix sruct access modifiers (pub, pub mut, mut)
|
2019-12-13 20:00:38 +03:00 |
|
Alexander Medvednikov
|
cddfbf7395
|
parser: allow public types pub type Foo Bar
|
2019-12-12 22:57:47 +03:00 |
|
Alexander Medvednikov
|
b8f728590b
|
string: last_index ?int
|
2019-12-12 21:54:48 +03:00 |
|
Alexander Medvednikov
|
bd833deef3
|
assoc: verify the field exists and verify the type
|
2019-12-12 20:38:49 +03:00 |
|
Alexander Medvednikov
|
6982f4a5a2
|
parser: force {} blocks on new lines
|
2019-12-12 20:27:05 +03:00 |
|
Alexander Medvednikov
|
576618d8cc
|
string cloning; fix foo.str += 's'
|
2019-12-12 05:20:52 +03:00 |
|
Alexander Medvednikov
|
ad250523cd
|
fix parser.fileis()
|
2019-12-11 21:42:22 +03:00 |
|
Alexander Medvednikov
|
cdfbb2978d
|
strings: replace_each([]); orm: update
|
2019-12-10 23:57:49 +03:00 |
|
joe-conigliaro
|
4e69c40e12
|
parser: fix use blank ident as value
|
2019-12-10 21:35:59 +03:00 |
|
joe-conigliaro
|
6d5e9f88f8
|
parser: allow enums to be used as bitfield flags
|
2019-12-10 06:16:47 +03:00 |
|
Alexander Medvednikov
|
8f9b6ac248
|
'$foo()' string interpolation
|
2019-12-08 23:18:11 +03:00 |
|
Alexander Medvednikov
|
4d1f721558
|
fix "" string interpolation bug
|
2019-12-08 20:06:00 +03:00 |
|
Alexander Medvednikov
|
c9886e6f42
|
use ++ everywhere
|
2019-12-08 14:34:51 +03:00 |
|
Alexander Medvednikov
|
cc682eafe1
|
require ++ instead of += 1
|
2019-12-08 14:11:25 +03:00 |
|
Alexander Medvednikov
|
d73586743b
|
fix assert in functions that return values
|
2019-12-07 19:33:59 +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
|
aed22a57e3
|
fixed size array with const length ([N]int )
|
2019-12-06 02:41:03 +03:00 |
|
Alexander Medvednikov
|
79b26b1654
|
use get_type2 in struct.v
|
2019-12-05 19:02:33 +03:00 |
|
Alexander Medvednikov
|
cb46bf314e
|
get_type.v
|
2019-12-05 18:48:39 +03:00 |
|
Alexander Medvednikov
|
2a1b0a8cae
|
rename table.register_type2()
|
2019-12-05 14:24:25 +03:00 |
|
Alexander Medvednikov
|
fb546f376e
|
set max module depth to 5
|
2019-12-05 01:27:04 +03:00 |
|
Alexander Medvednikov
|
e707ac4f28
|
test v -live message.v
|
2019-12-05 00:17:38 +03:00 |
|
Alexander Medvednikov
|
fb237b9e53
|
parser: check types in a in b expressions
|
2019-12-04 22:17:24 +03:00 |
|
Alexander Medvednikov
|
66f271f100
|
fix a string interpolation bug
|
2019-12-03 20:41:49 +03:00 |
|
Alexander Medvednikov
|
c0bb88dfb0
|
allow # in webview module
|
2019-12-02 12:31:49 +03:00 |
|
Alexander Medvednikov
|
2651b8957a
|
parser: fix unreachable code error in if a := opt()
|
2019-11-30 15:17:27 +03:00 |
|
Alexander Medvednikov
|
81d4f66fbb
|
string: make index() return ?int instead of int /-1
|
2019-11-30 13:21:21 +03:00 |
|
Alexander Medvednikov
|
7e4799334f
|
array: make left/right/slice private
|
2019-11-30 12:37:34 +03:00 |
|
Alexander Medvednikov
|
b38283dcf1
|
string: make left/right private
|
2019-11-30 12:06:17 +03:00 |
|
Alexander Medvednikov
|
71378b8041
|
parser: better syntax error for unexpected tokens
|
2019-11-29 17:06:49 +03:00 |
|
joe-conigliaro
|
11aaee685a
|
generics: fix errors & simplify
|
2019-11-29 16:46:43 +03:00 |
|
bogen85
|
e31d892598
|
make _V_mret_ unique by putting p.token_idx in it
|
2019-11-29 11:11:53 +03:00 |
|
joe-conigliaro
|
3107618732
|
vweb: remove no longer needed special case & fix tmpl
|
2019-11-26 09:23:11 +03:00 |
|
ʇʞʌp
|
6349bd33d3
|
compiler: Allow or usage when assigning to struct fields. (#2893)
|
2019-11-26 09:07:35 +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 |
|
ʇʞʌp
|
81d552038c
|
parser: allow constant usage in assoc
|
2019-11-26 06:41:56 +03:00 |
|
joe-conigliaro
|
92f920b2b8
|
make errors from code parsed with statements_from_text show correctly
|
2019-11-25 22:22:40 +03:00 |
|
joe-conigliaro
|
edd4706480
|
compiler: parser fixes for vweb
|
2019-11-25 15:29:55 +03:00 |
|
joe-conigliaro
|
7158a012c3
|
compiler: update to get vweb working
|
2019-11-25 13:48:25 +03:00 |
|
Alexander Medvednikov
|
e9e931fe4a
|
force C function definitions
|
2019-11-24 12:14:22 +03:00 |
|
Alexander Medvednikov
|
0fb0c43c0a
|
pg: minor fixes
|
2019-11-23 19:48:00 +03:00 |
|
joe-conigliaro
|
666509623e
|
compiler: use token.pos instead of token.col, calculate col when needed
|
2019-11-23 19:31:28 +03:00 |
|
れもん
|
3d235169c8
|
parser: fix if expression
|
2019-11-23 14:25:57 +03:00 |
|
Alexander Medvednikov
|
9712213f50
|
x64 machine code generation (ELF)
|
2019-11-22 14:33:22 +03:00 |
|
joe-conigliaro
|
8fbfceed30
|
compiler: generics - support across modules/files
|
2019-11-22 08:22:11 +03:00 |
|
Alexander Medvednikov
|
0cf232d692
|
parser: a better [] error message
|
2019-11-19 11:13:19 +03:00 |
|