Commit Graph

24 Commits (a76165828b3640f638a9dce4e84885d7026122cf)

Author SHA1 Message Date
Simon Heuser 85c05b6822 parser: disallow or{} block for non-optionals 2019-10-12 17:53:53 +03:00
joe-conigliaro 51388fea75 compiler: module init function & init consts for cached modules 2019-10-12 01:17:37 +03:00
Alexander Medvednikov cdfb7428c8 array/map: use get() instead of _get() etc 2019-10-10 01:07:00 +03:00
Alexander Medvednikov b1da59845e array: fix initialization of empty fixed size arrays 2019-10-09 15:26:30 +03:00
Alexander Medvednikov a9a73d9315 caching modules: almost there 2019-10-09 06:35:58 +03:00
Delyan Angelov cd5431575a compiler: fix -obf regression (main__main) 2019-10-06 16:23:52 +03:00
Delyan Angelov ebc50432c7 compiler: initializing fixed arrays with [1,2,3] 2019-10-06 03:07:02 +03:00
Delyan Angelov 9a0a8e89fb compiler: generate a v.c that is compatible with latest tcc 2019-10-05 15:46:13 +03:00
Delyan Angelov fce4199412 compiler: let methods return voidptr without a segfault 2019-10-03 01:28:24 +03:00
Alexander Medvednikov 5ba354fa2c `if a := foo() {` syntax for handling optionals 2019-10-01 22:57:38 +03:00
joe-conigliaro 7fd2ef975b parser: add v error if assigning var to blank identifier `_`
also fix C warn & double semicolon
2019-10-01 15:40:11 +03:00
joe-conigliaro 7311db60a0 compiler: vargs - for loop support & indexing / dot fixes 2019-09-30 17:11:12 +03:00
joe-conigliaro ed3a4961d0 compiler: blank identifier for loops. dont declare any variables 2019-09-28 19:53:56 +03:00
joe-conigliaro 157ef46d5a parser: fix a few things in with blank ident 2019-09-26 14:09:59 +03:00
Alexander Medvednikov 04e4018228 compiler: small fixes + some logic for freeing strings 2019-09-26 03:24:58 +03:00
joe-conigliaro 746655c1d5 compiler: re assignable blank identifier `_` & no longer a variable 2019-09-25 14:53:44 +03:00
Alexander Medvednikov bf1ee28194 ui: Objective-C @interface support for Cocoa; minor clean-ups 2019-09-23 15:54:17 +03:00
Alexander Medvednikov cec2173381 array: fix memory bug with mutable array args 2019-09-22 10:33:47 +03:00
Alexander Medvednikov 13e4c79f58 table: use optional in find_method() 2019-09-19 04:56:22 +03:00
Alexander Medvednikov ecffa8e1d9 v.js: fix for .. 2019-09-17 22:21:44 +03:00
joe-conigliaro cbd4478b5e compiler: fix msvc empty struct & enable travis msvc 2019-09-16 13:01:07 +03:00
Delyan Angelov 854de4e7e0 repl: add more stats and tests; compiler: tcc fixes 2019-09-16 00:41:12 +03:00
Delyan Angelov e3bd72e8e2 travis: spawn 2 separate windows instances 2019-09-15 15:52:12 +03:00
Alexander Medvednikov 5cc81b91cb JavaSript backend (early stage) 2019-09-15 03:49:57 +03:00