Alexander Medvednikov
|
17212f816c
|
v2: high order functions
|
2020-02-11 13:21:41 +01:00 |
|
Alexander Medvednikov
|
2838d12227
|
v2: fn_args()
|
2020-02-11 13:03:14 +01:00 |
|
joe-conigliaro
|
d25a0e30dc
|
v2: make index_expr return array array element type
|
2020-02-11 12:59:40 +01:00 |
|
Alexander Medvednikov
|
9610821884
|
v2: defer; match a,b; if x :=
|
2020-02-11 10:26:46 +01:00 |
|
joe-conigliaro
|
f7b80c3c62
|
v2: fix fixed array parsing
|
2020-02-11 14:45:33 +11:00 |
|
Alexander Medvednikov
|
2d7c80bbc3
|
v2: match sum type; { x | }
|
2020-02-11 00:07:01 +01:00 |
|
Alexander Medvednikov
|
a21e3d77e9
|
fix prod build
|
2020-02-10 23:47:42 +01:00 |
|
Alexander Medvednikov
|
747f6829ab
|
v2: enum decl; type decl; [start..end] fix; %=
|
2020-02-10 23:19:50 +01:00 |
|
Alexander Medvednikov
|
26cfaa150e
|
v2: match expr; enum val; string formatting
|
2020-02-10 20:33:46 +01:00 |
|
Alexander Medvednikov
|
d5f90ef64b
|
v2: handle unresolved consts
|
2020-02-10 18:43:25 +01:00 |
|
joe-conigliaro
|
bf5ed5e451
|
v2: fix array index, for loop, add cast expr & other minor fixes
|
2020-02-10 14:43:17 +01:00 |
|
Alexander Medvednikov
|
c9f619dc72
|
v2: parse filter()
|
2020-02-10 14:42:57 +01:00 |
|
Alexander Medvednikov
|
3f6ccd3120
|
v2: minor fixes
|
2020-02-10 13:58:24 +01:00 |
|
joe-conigliaro
|
e274c5c485
|
v2: type sys - store type idx/ptr in int & add helpers
|
2020-02-10 08:32:08 +01:00 |
|
lutherwenxu
|
9332a83ce6
|
move v.v to cmd/v
|
2020-02-09 10:08:04 +01:00 |
|
joe-conigliaro
|
a2d2586331
|
v2: map / string / builtin type fixes
|
2020-02-08 16:59:57 +01:00 |
|
joe-conigliaro
|
e01c76c895
|
v2: fix type resolving
|
2020-02-08 12:14:53 +01:00 |
|
joe-conigliaro
|
9e9bdc32ea
|
v2: lots of small fixes parent method/field resolution
|
2020-02-08 09:50:12 +01:00 |
|
Alexander Medvednikov
|
d66bc24e7f
|
remove as casts for basic types
|
2020-02-07 22:10:48 +01:00 |
|
Alexander Medvednikov
|
f782388148
|
v2: minor fixes
|
2020-02-07 21:29:28 +01:00 |
|
joe-conigliaro
|
35bef514b0
|
v2: checker & unresolved fixes & small updates
|
2020-02-07 18:46:42 +01:00 |
|
Alexander Medvednikov
|
9034b1fd08
|
v2: match cgen; use as for casting
|
2020-02-07 14:50:52 +01:00 |
|
Alexander Medvednikov
|
f241945d70
|
v2: as cast
|
2020-02-07 09:19:45 +01:00 |
|
Alexander Medvednikov
|
bb60b3081f
|
v2: parse builtin successfully
|
2020-02-07 07:34:18 +01:00 |
|
joe-conigliaro
|
67a13fc916
|
v2: start impl multi assign
|
2020-02-06 17:38:02 +01:00 |
|
joe-conigliaro
|
d9e92a08cb
|
v2: use pointer to table.type, fix unresolved array/map sub-types
|
2020-02-06 13:57:35 +01:00 |
|
Alexander Medvednikov
|
2b433cdf64
|
v2: match, <<=, >>=, |=, ~, unsafe, map init
|
2020-02-05 10:00:14 +01:00 |
|
Alexander Medvednikov
|
f1a0c2f1af
|
v2: parse optionals
|
2020-02-04 20:22:00 +01:00 |
|
Alexander Medvednikov
|
ac5c4e3203
|
fix prod build
|
2020-02-04 17:48:15 +01:00 |
|
Alexander Medvednikov
|
80daaff874
|
v2: scopes, or, in, hex
|
2020-02-04 17:44:39 +01:00 |
|
Alexander Medvednikov
|
9b60a50d07
|
v2: maps, <<, >>, method calls
|
2020-02-04 12:50:58 +01:00 |
|
joe-conigliaro
|
85e4e4cb40
|
v2: resolve unresolved call expression types & add test
|
2020-02-04 12:03:12 +01:00 |
|
Alexander Medvednikov
|
83f0c228e9
|
v2: parse builtin.v, cfns.v float.v
|
2020-02-04 09:54:15 +01:00 |
|
Alexander Medvednikov
|
432ee93916
|
v2: break, continue, for in fixes, fixed size array, |
|
2020-02-04 08:29:50 +01:00 |
|
Alexander Medvednikov
|
c7f07cd0b6
|
v2: postfix_expr() checker
|
2020-02-04 07:37:41 +01:00 |
|
joe-conigliaro
|
21b6dace8f
|
v2: remove duplication & slight cleanup. share prefs with v1
|
2020-02-03 12:09:17 +01:00 |
|
Alexander Medvednikov
|
f1f8a2e4dd
|
fix prod build
|
2020-02-03 12:06:25 +01:00 |
|
Alexander Medvednikov
|
64bfae0a0e
|
2
|
2020-02-03 11:54:41 +01:00 |
|
Alexander Medvednikov
|
54605823f9
|
rem1
|
2020-02-03 11:45:25 +01:00 |
|
Alexander Medvednikov
|
01f45f063e
|
cgen: remove the checker
|
2020-02-03 11:36:03 +01:00 |
|
Alexander Medvednikov
|
40fd918b58
|
v2: cgen: remove type resolving for VarDecl
|
2020-02-03 11:32:00 +01:00 |
|
Alexander Medvednikov
|
6489b48c9c
|
v2: clean up IndexExpr type check
|
2020-02-03 11:29:50 +01:00 |
|
Alexander Medvednikov
|
e5f5117a7e
|
fix prod build
|
2020-02-03 11:17:12 +01:00 |
|
Alexander Medvednikov
|
60a4f668b7
|
v2: fix FnDecl ref bug
|
2020-02-03 11:13:36 +01:00 |
|
Alexander Medvednikov
|
2af3c0ede4
|
hmm
|
2020-02-03 10:58:15 +01:00 |
|
Alexander Medvednikov
|
1ac7a95f9b
|
fix array_test.v
|
2020-02-03 10:27:06 +01:00 |
|
Alexander Medvednikov
|
50b704c5dd
|
sum type: mut
|
2020-02-03 09:25:26 +01:00 |
|
Alexander Medvednikov
|
34e9eb32bb
|
sum types: allow modification in match
|
2020-02-03 09:11:10 +01:00 |
|
Alexander Medvednikov
|
d918903252
|
v2: move index expr type check
|
2020-02-03 07:45:09 +01:00 |
|
joe-conigliaro
|
2d5c70832c
|
v2: initial module support
|
2020-02-03 07:31:54 +01:00 |
|
Alexander Medvednikov
|
d87cb3f672
|
v2: consts, $if, attributes, globals, if/for type check, prefs
|
2020-02-03 07:03:32 +01:00 |
|
joe-conigliaro
|
7f709c3285
|
update copyright years
|
2020-02-03 05:00:36 +01:00 |
|
Alexander Medvednikov
|
71653273f6
|
v2: range, *, function object
|
2020-02-02 14:32:12 +01:00 |
|
Alexander Medvednikov
|
377d8dc42c
|
v2: parser_test: run all tests
|
2020-02-02 08:06:21 +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 |
|
Shun Sakai
|
c8c43a2475
|
update copyright year
|
2020-01-23 21:04:46 +01:00 |
|
joe-conigliaro
|
543e8dc78a
|
v2: fix bug in scanner, introduced in da9b639 (_ in num literals)
|
2020-01-23 21:47:13 +11:00 |
|
penguindark
|
da9b6394e8
|
0bxxxx binary literal support; _ in literals (1_000_000)
|
2020-01-23 03:28:25 +01:00 |
|
Alexander Medvednikov
|
0502a54a36
|
new gg/freetype modules with sokol/fontstash backends
|
2020-01-22 20:54:36 +01:00 |
|
joe-conigliaro
|
3a8b437b8d
|
v2: move array_init to checker
|
2020-01-19 13:52:34 +01:00 |
|
joe-conigliaro
|
09d1eb7c55
|
v2: type checker + lots of other changes
|
2020-01-18 23:26:14 +01:00 |
|
Alexander Medvednikov
|
b6c0b22742
|
interfaces fixes; freetype.text_width(); gl and stbi fixes
|
2020-01-12 16:11:28 +01:00 |
|
Delyan Angelov
|
7bf49aba54
|
vv: make warns/errors usable in emacs/vim
|
2020-01-09 14:08:33 +01:00 |
|
Alexander Medvednikov
|
29564ed63d
|
interface fix
|
2020-01-09 01:40:10 +01:00 |
|
joe-conigliaro
|
38e5f0d1cf
|
v: initial type work for methods / struct fields
|
2020-01-08 17:14:42 +01:00 |
|
Alexander Medvednikov
|
3c0fca9258
|
register methods (wip)
|
2020-01-08 10:19:18 +01:00 |
|
Alexander Medvednikov
|
9861b24bc3
|
struct field check + enable v2 again
|
2020-01-07 16:09:20 +01:00 |
|
joe-conigliaro
|
2ab7b40f2f
|
v: clean up enum vals; make array_init return array
|
2020-01-07 15:46:57 +01:00 |
|
Alexander Medvednikov
|
d823d82207
|
array type fix; method registration
|
2020-01-07 13:10:09 +01:00 |
|
Alexander Medvednikov
|
706c6066d5
|
index expression
|
2020-01-07 12:18:13 +01:00 |
|
joe-conigliaro
|
b7509577b5
|
v: cleanup & fixes. update variadic & multiple return
|
2020-01-07 12:10:07 +01:00 |
|
Alexander Medvednikov
|
8c5923297e
|
do not run cgen_test.v on windows
|
2020-01-07 01:57:38 +01:00 |
|
Alexander Medvednikov
|
69f3c42b99
|
method calls; skip string interpolation for now; fix ()
|
2020-01-07 01:08:24 +01:00 |
|
Alexander Medvednikov
|
48ea1153a5
|
for ;; syntax
|
2020-01-07 00:14:19 +01:00 |
|
Alexander Medvednikov
|
1e28c1d4fd
|
clean up the parser a bit; run vfmt; add x64 to ci
|
2020-01-06 23:15:37 +01:00 |
|
Alexander Medvednikov
|
b815878d60
|
simplify and improve pratt
|
2020-01-06 16:13:12 +01:00 |
|
Delyan Angelov
|
c24a1b3786
|
compiler: fix unused import warnings
|
2020-01-05 16:29:33 +01:00 |
|
joe-conigliaro
|
5a6f9024d3
|
v: small fixes typo & register struct & and add array elem pointer
|
2020-01-05 11:52:03 +01:00 |
|
joe-conigliaro
|
2061394ad7
|
v: initial impl of new type sys w/ pointer & placeholder support (#3323)
|
2020-01-04 17:57:25 +01:00 |
|
Alexander Medvednikov
|
3344111a03
|
minor fixes and cleaning up
|
2020-01-04 00:06:06 +01:00 |
|
Alexander Medvednikov
|
520ec0f53a
|
fix cgen_test
|
2020-01-03 11:41:39 +01:00 |
|
joe-conigliaro
|
343ded18fd
|
parser: dot fix
|
2020-01-03 11:36:17 +01:00 |
|
Alexander Medvednikov
|
492dfebd15
|
SelectorExpr; receivers; struct field check; if expression
|
2020-01-02 20:09:23 +01:00 |
|
Alexander Medvednikov
|
a6a9958cfc
|
register fn args; remove dup code
|
2020-01-02 08:37:41 +01:00 |
|
Alexander Medvednikov
|
460b35137a
|
handle unknown fns; fn.v; type fixes
|
2020-01-02 08:30:15 +01:00 |
|
Alexander Medvednikov
|
e7e07be38c
|
handle unknown functions; fix var types
|
2020-01-01 23:15:20 +01:00 |
|
Alexander Medvednikov
|
b1d6021875
|
x64 fixes
|
2020-01-01 22:34:46 +01:00 |
|
Alexander Medvednikov
|
e53bb6a9d4
|
parser: wrong else
|
2020-01-01 13:12:38 +01:00 |
|
Alexander Medvednikov
|
327314c2c3
|
parser: unknown function error
|
2020-01-01 13:08:05 +01:00 |
|
Alexander Medvednikov
|
47908c22df
|
cgen_test: skip empty lines; os: make vc_gen compile
|
2020-01-01 12:50:25 +01:00 |
|
Alexander Medvednikov
|
2f8969c604
|
time: Windows fix
|
2020-01-01 12:01:03 +01:00 |
|
Alexander Medvednikov
|
79b4a757c4
|
fix cgen_test.v
|
2020-01-01 10:32:22 +01:00 |
|
Alexander Medvednikov
|
4794598d06
|
if x := opt() {} else {}
|
2020-01-01 10:31:50 +01:00 |
|
Alexander Medvednikov
|
96d02849aa
|
parser: parse_file(path)
|
2020-01-01 10:15:05 +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 |
|
joe-conigliaro
|
80da2341aa
|
v: fix unary + ,- & rename token.TokenKind to token.Kind
|
2019-12-31 10:53:30 +01:00 |
|
Alexander Medvednikov
|
3a7f1db947
|
fix parser tests
|
2019-12-30 17:05:32 +01:00 |
|
Alexander Medvednikov
|
093a025ebf
|
parse_files(); ast.File
|
2019-12-30 16:55:59 +01:00 |
|