Commit Graph

  • 0119211d92 updated readme Mark 2023-08-14 17:22:55 +0200
  • 2a7cb08596 mers rewrite is starting to be usable Mark 2023-08-14 17:17:08 +0200
  • e549b1a5be move old mers to old/ and update gitignore Mark 2023-07-28 15:24:38 +0200
  • 07745488b3 sorted mers_lib/src/program/configs/ and added cargo features Mark 2023-07-28 15:20:02 +0200
  • b81dac682e full rewrite, kinda works Mark 2023-07-28 00:33:15 +0200
  • 16258c7a0a updated readme. again. Mark 2023-07-18 18:45:42 +0200
  • 29bc366439 added a reference to the prebuilt binaries in README Mark 2023-07-12 16:14:59 -0400
  • c831512661 remove github.io site due to overlap with readme Mark 2023-07-12 16:11:04 -0400
  • b6d01c7c25 changed regex builtin and added binaries to git repo Mark 2023-06-29 15:16:31 -0400
  • f0314817a2 . Mark 2023-06-26 17:53:27 -0400
  • d8b2033867
    Update intro.md typo Mark 2023-06-19 20:26:02 +0200
  • 701ead37c1 remove error on "wrong" main function args (which are no longer "wrong" since the last commit) mark 2023-06-17 15:35:42 +0200
  • 47dc763b23 . mark 2023-06-16 18:49:12 +0200
  • 77178addac default fn args are now empty instead of args [string ...] mark 2023-06-16 18:44:48 +0200
  • 7f3eccded8 put docs/intro before docs/syntax_cheat_sheet in README and add new reference type syntax to docs/syntax_cheat_sheet mark 2023-06-12 22:02:13 +0200
  • 3032d3c115 fixed examples, fixed bug due to VType changes mark 2023-06-12 19:06:20 +0200
  • d94f727eaa references can now be of type &(int/float): two types, one reference. mark 2023-06-12 18:18:45 +0200
  • 217a527c01 solved some AoC mark 2023-06-07 21:14:22 +0200
  • 46dbb13e0f fixed warnings, cargo clippy, and mers-nu mark 2023-06-06 15:22:45 +0200
  • 50e11dc967 removed script.mers from gitignore mark 2023-06-06 13:53:13 +0200
  • f91d452bd1 removed allow(dead) and allow(unused) mark 2023-06-06 13:52:16 +0200
  • 1c749da401 changed VType internals mark 2023-06-06 13:51:33 +0200
  • f7feb688e8 order of operations, tests, VSingleType::Function mark 2023-06-06 03:09:39 +0200
  • e3ca8d011d . mark 2023-06-04 22:23:10 +0200
  • 9137392326 . mark 2023-06-04 22:22:46 +0200
  • 5ce10144e7 fix typo mark 2023-06-04 22:15:09 +0200
  • c9e790dae8 update colors mark 2023-06-04 22:06:21 +0200
  • 8c6f8c17f1 update readme, docs, site, and version to 0.2.0. mark 2023-06-04 21:59:38 +0200
  • db0be51fa4 added arrow syntax for forcing output types and added the "any" type (which is basically useless and will likely change in the future) mark 2023-06-04 21:33:35 +0200
  • efe8a177dc changed the error mark 2023-06-04 20:17:36 +0200
  • c7642ef911 there can now be multiple functions with the same name. The most recently declared one will be preferred if multiple would be valid. mark 2023-06-04 20:07:50 +0200
  • c2594ab6dc . mark 2023-05-27 19:37:01 +0200
  • d62a3f5aa8 added dereference syntax to go from &t to t by prefixing any statement with a *. for *x.f(), the * is applied to x, not the whole chain (like & would) mark 2023-05-27 19:20:28 +0200
  • f43ab49408 removed some annoying debug prints mark 2023-05-27 18:38:33 +0200
  • e0f13bdb85 fixed issue https://github.com/Dummi26/mers/issues/1#issue-1728187127 and fixed = vs. := in README. mark 2023-05-27 18:31:58 +0200
  • 3b44e5984f added build script for musl libc mark 2023-05-27 17:56:10 +0200
  • 68c2b52ad7 bugfix: changing the implementation of get() to respect references broke some builtin functions which did not account for this mark 2023-05-26 21:55:04 +0200
  • 82f2f028fa fixed line counts ignoring newlines after a // comment mark 2023-05-26 21:47:47 +0200
  • 8848552302 changed true to [true] in match statement to remove [] from return types (although it's still there since println() returns [] - this litterally changes nothing, but it's good style) mark 2023-05-26 21:29:28 +0200
  • 8066487006 update intro.md mark 2023-05-26 21:26:14 +0200
  • 4356858ab2 made syntax cheat sheet a bit clearer mark 2023-05-26 20:18:09 +0200
  • 45f6f30de3 revamped switch and match syntax mark 2023-05-26 20:02:46 +0200
  • be9403d63d added destructuring assignments for tuples (and lists on the left) mark 2023-05-26 18:46:47 +0200
  • 3f76e4f549 add a.fn(b) syntax to cheat sheet mark 2023-05-25 00:25:50 +0200
  • bcc88bf088 added 'outdated' message to intro mark 2023-05-25 00:24:24 +0200
  • e766e78e96 updated site + added docs/builtins.md + statements can end with ',' to differentiate '1, -2' from '1 - 2' == '-1'. mark 2023-05-25 00:22:03 +0200
  • 46653666f0 updated readme and docs mark 2023-05-24 23:35:42 +0200
  • b4b33b1c82 added := for initialization/declaration mark 2023-05-24 22:32:54 +0200
  • 8e16140b0f fixed oversight mark 2023-05-24 01:00:42 +0200
  • c32419508e fixed examples mark 2023-05-23 23:56:45 +0200
  • b652cb57cc chmod -x'd examples and added modify_variable.mers example (parser changed). note: some examples might be broken because of this mark 2023-05-23 23:37:58 +0200
  • 9d3a149648 to_runnable treats assignment to a variable as initialization/declaration unless is_ref is true. if the variable doesn't exist yet, it will be created. for custom parser implementations, this means that making all variable assignments ones where is_ref is true will work just fine, but explicit declarations can be done by setting it to false if desired. always leaving it at false will repeatedly shadow the variable, so this isn't recommended although it does work. mark 2023-05-23 23:30:12 +0200
  • 1ec7296f50 . mark 2023-05-23 20:52:48 +0200
  • 9fd09eff37 fixed order of operations mark 2023-05-23 20:49:39 +0200
  • 220d992eb9 moved examples to own directory mark 2023-05-23 20:26:08 +0200
  • 22b4ace81b added \r and \0 escape sequences mark 2023-05-23 20:24:32 +0200
  • 07a443a60b <, <=, > and >= are ordered to happen before == and != instead of defaulting to left-to-right mark 2023-05-23 19:12:26 +0200
  • 14d1995d8b add order of operations to the parser ( . | + - | * / % | == != < <= > >= | = ) mark 2023-05-23 12:20:36 +0200
  • 7af9902b6a fixed [[2]].0.0 parsing 0.0 as a float, removed get_ref() and made get() return a reference to the inner value if called on a reference to a collection (&[int ...].get(0) returns []/[&int]). mark 2023-05-23 12:01:27 +0200
  • 56b457e1b3 add missing file mark 2023-05-19 21:28:57 +0200
  • b5924b5da1 -f+c will print the parsed script with colored highlighting mark 2023-05-19 21:25:05 +0200
  • 79797e6718 size/welcome.mers no longer has the executable bit set. mark 2023-05-18 02:34:01 +0200
  • f2f5af94a7 . mark 2023-05-18 02:31:04 +0200
  • 79a9d17ba9 updated example for github.io site mark 2023-05-18 02:12:21 +0200
  • ac3221471f
    Create intro.md Mark 2023-05-18 02:06:45 +0200
  • 8bfe5acd06
    Update README.md Mark 2023-05-18 01:07:15 +0200
  • ac8d3befb7 temporarily made cloning actually clone, giving up on CopyOnWrite for now because I kept finding tiny bugs. This might harm performance, but overall performance was bad and will still be bad so who even cares, at least everything kindof works now. mark 2023-05-18 00:08:28 +0200
  • aff55fdc9e changed VData system again, renamed src/script to src/lang and added src/c.mers, which is an example something that currently does not work properly due to the VData implementation (and serves as a reminder to fix the issue) mark 2023-05-14 00:11:36 +0200
  • f8102c8fe6 (maybe?) fixed inner mutability on immutable (shared) values mark 2023-05-12 15:32:56 +0200
  • c501a6e558 fixed bug with function args and custom types mark 2023-05-12 15:03:20 +0200
  • f76ff55401 removed type_syntax.mers test because type force syntax will change (and has been removed for now). mark 2023-05-12 01:02:42 +0200
  • e53fc98f15 amogus.mers wont fail without fish anymore mark 2023-05-12 00:59:32 +0200
  • bba48b311f changed assignment parser from var = statement to statement = statement mark 2023-05-12 00:44:47 +0200
  • 6f31abd5cc changed VData implementation. It will now always (exception: references) behave like a clone BUT it will avoid cloning whenever possible using Copy-on-Write-style logic. mark 2023-05-11 14:49:49 +0200
  • 79b169d951 fixed bug where all but the first loop iterations would write data to the mutable variables from the last iteration(s) even though the variables are supposed to be completely local: is_init can be set on steatements that have an output_to to force them to always redeclare and never reassign the new value. mark 2023-05-11 01:56:33 +0200
  • 9ec4acaf70 made custom type names case-insensitive mark 2023-05-11 01:11:12 +0200
  • 4efee9e2a2 completely changed the VData/VDataEnum system: Multiple VData can share one VDataEnum via an Arc<Mutex<VDataEnum>>. If one wants to modify the data, it copies it (Copy on Write). This copying is skipped for shared mutable data (references). This was necessary for the get_ref() function. Expect bugs! mark 2023-05-11 01:04:15 +0200
  • ceddb886a9 changed usize/isize static size types from u32/i32 to u64/i64 mark 2023-05-10 20:02:36 +0200
  • 924715cce1 changed while to loop in example .mers files mark 2023-05-09 22:18:39 +0200
  • a7bb3e67fa libraries can now work threaded if they wish (see http_requests). This means that multiple functions provided by one library can run at the same time (using thread(), see http.mers) and actually do the work they need to do simultaneously. mark 2023-05-09 22:11:13 +0200
  • 9b92c5b353 . mark 2023-05-04 05:54:01 +0200
  • 65dc9e577e . mark 2023-05-04 05:51:27 +0200
  • 5e2b4a38b1 . mark 2023-05-04 05:46:23 +0200
  • df0a195a1f . mark 2023-05-04 05:45:28 +0200
  • 5a8edd9605 update site mark 2023-05-04 05:42:45 +0200
  • f8e23d0ce8 Added index.html for the github page. Built from site/index.html using site/build.mers as a preprocessor. mark 2023-05-04 03:58:16 +0200
  • 4c86897a71 fix nushell_plugins not compiling due to rename of parse module to parsing mark 2023-05-01 01:05:22 +0200
  • 77cd1358e6 fixed bad error message if no arguments are provided mark 2023-04-30 22:41:36 +0200
  • ea20d9960f
    Update README.md Mark 2023-04-30 22:34:11 +0200
  • 779605e7e6
    Update rust.yml Mark 2023-04-30 22:31:43 +0200
  • b83f54cb2d added basic tests mark 2023-04-30 22:21:27 +0200
  • 657f282006
    Create rust.yml Mark 2023-04-30 21:41:34 +0200
  • a36002b11d Merge branch 'main' of https://github.com/Dummi26/mers mark 2023-04-30 21:39:31 +0200
  • c370fc7e1e changed gitignore mark 2023-04-30 21:38:37 +0200
  • d3f81af1d0
    Delete nu_plugin_mers Mark 2023-04-30 21:38:15 +0200
  • 644ff1bba8
    Delete mers Mark 2023-04-30 21:38:07 +0200
  • ca3dd4c798 forgot to add files to last commit. L. mark 2023-04-30 21:35:28 +0200
  • 0feb1b8778 added nushell support. Dummi26 2023-04-30 17:31:50 +0200
  • 1a446248e4 fixed 'type [custom type] does not fit in [litterally the same type but not custom]' problem mark 2023-04-29 19:56:54 +0200
  • ef5874747e added custom types that can be defined using 'type <name> <type>' mark 2023-04-29 19:04:38 +0200