1
0
Fork 0
forked from fun/fun

Commit graph

  • eb499c07c9 Fixed default FreeBSD make compatibility error. hanez 2025-09-30 00:23:24 +02:00
  • 728b4f67da Added a custom lib dir. E.g.: FUN_LIB_DIR="/some/dir\ ./path/to/fun and added DEFAULT_LIB_DIR as compile time option. hanez 2025-09-29 18:22:40 +02:00
  • d3e58d880a Just a typo fix. (0.12.2) hanez 2025-09-29 09:57:54 +02:00
  • 348db0bead Added sha256_str to class sha256.fun + a demo and some .editorconfig update. (0.12.1) hanez 2025-09-29 09:11:18 +02:00
  • c56a130896 Bastic value type casting. (0.12.0) hanez 2025-09-29 03:26:35 +02:00
  • b6cff0c865 Just some permission fixes in ./examples/. (0.11.1) hanez 2025-09-29 02:46:32 +02:00
  • 12a5646d56 Added some crypto 100% implemented in Fun. (0.11.0) hanez 2025-09-29 02:36:57 +02:00
  • 5d3cfd9f65 Classes are a real type class now and some fixes. (0.10.0) hanez 2025-09-28 23:56:45 +02:00
  • 2a1b74f13f Added byte as a new datatype. (0.9.3) hanez 2025-09-28 23:10:49 +02:00
  • 6b27911c75 .gitignore update. (0.9.2) hanez 2025-09-28 19:18:11 +02:00
  • 54a408045d CMakeList.txt fix. (0.9.1) hanez 2025-09-28 15:46:12 +02:00
  • 5cf547fa23 Added code_of_conduct()... ;) (0.9.0) hanez 2025-09-28 15:38:01 +02:00
  • a1a5d9fd6a Some more type safety. (0.8.0) hanez 2025-09-28 15:24:09 +02:00
  • be8c179124 Housekepping. (0.7.4) hanez 2025-09-28 03:07:48 +02:00
  • ea9dd71659 Housekepping. (0.7.3) hanez 2025-09-28 02:23:24 +02:00
  • fbee5b6d3e Added .editorconfig because I am developing on multiple OS's and systems now. (0.7.2) hanez 2025-09-28 00:54:32 +02:00
  • 0690504e00 Fixed build error on FreeBSD based systems. (0.7.1) hanez 2025-09-27 23:14:25 +02:00
  • 606a8c238f Just the missing version bump for the last commit. (0.7.0) hanez 2025-09-27 23:08:01 +02:00
  • 464f54626f Windows CRLF fix in the parser. hanez 2025-09-27 23:02:13 +02:00
  • c43b8bbf84 .gitignore update to exclude windows build dirs. hanez 2025-09-27 22:37:16 +02:00
  • 293c2b0b2f Just cosmetis. (0.6.1) hanez 2025-09-27 18:53:28 +02:00
  • 045d1c2809 Some more example code and documentation on how to use includes. hanez 2025-09-27 17:49:22 +02:00
  • 5b7b063086 Added basic local includes relative to $PWD and includes for files located at /usr/lib/fun. hanez 2025-09-27 17:39:03 +02:00
  • d25c4b616d Added Ctrl+left/right arrow key navigation (0.5.2) hanez 2025-09-27 12:25:41 +02:00
  • ad70918041 Just a test to mirror this repo to GitHub. hanez 2025-09-27 11:54:54 +02:00
  • c8d3fbea51 Added backward and forward navigation in the REPL to navigate within a typed string. hanez 2025-09-27 11:14:37 +02:00
  • ff155b6a31 Added some missing license headers and some cosmetic changes. hanez 2025-09-27 10:12:44 +02:00
  • 4345fc6f0c Added new opcode OP_ENV to provide an env() function to get environment variables from your OS. hanez 2025-09-27 10:06:04 +02:00
  • f3b979c07f Only cosmetics... ;) hanez 2025-09-27 08:34:12 +02:00
  • f60c38ca06 Fixed some REPL issues like the history and version bump to 0.5. hanez 2025-09-27 08:31:37 +02:00
  • 32276ee898 Added path-completion and make the backspce key work in the REPL. hanez 2025-09-27 08:14:10 +02:00
  • a604fc140a Some class update. hanez 2025-09-26 11:10:46 +02:00
  • e2d8850ad2 README update. hanez 2025-09-26 10:48:57 +02:00
  • 4d28499f71 README update. hanez 2025-09-26 10:16:43 +02:00
  • 99dd91b649 Version bump to 0.4.0. hanez 2025-09-26 09:38:22 +02:00
  • b54ce204ed README_DEV removed. hanez 2025-09-26 09:35:36 +02:00
  • 01f5428a33 README update. hanez 2025-09-26 09:33:01 +02:00
  • 783af6f305 README update. hanez 2025-09-26 09:32:39 +02:00
  • 0b634082db README update. hanez 2025-09-26 09:30:33 +02:00
  • 34dbad1653 Some fixes to make it compile on FreeBSD. hanez 2025-09-26 09:20:12 +02:00
  • 2e8bd52b01 Added private methods and some more type fixes. hanez 2025-09-26 09:13:32 +02:00
  • 30de0d396e Some class fixes hanez 2025-09-26 08:06:30 +02:00
  • c7c4b467d5 Some more class sugar... hanez 2025-09-26 07:53:12 +02:00
  • 5d2c6e89aa Some cosmetic fixes... hanez 2025-09-26 07:42:40 +02:00
  • 25fe9ad610 Added basic class support. hanez 2025-09-26 07:39:13 +02:00
  • 228c2a7a5b Some play fun updates. hanez 2025-09-20 08:36:26 +02:00
  • 2d7f553909 Some play fun updates. hanez 2025-09-20 08:24:28 +02:00
  • 151b3fa935 Some play fun updates. hanez 2025-09-19 20:54:17 +02:00
  • 31b70d4646 Just playing and having fun... hanez 2025-09-19 10:39:42 +02:00
  • 1058cefc7a Just playing and having fun... hanez 2025-09-19 10:32:24 +02:00
  • 6cf1afcde6 Just playing and having fun... hanez 2025-09-19 09:15:35 +02:00
  • 84ef262588 Added some documentation to some ./examples/*.fun scripts. hanez 2025-09-18 02:39:07 +02:00
  • aaa2094b47 README update. hanez 2025-09-17 18:05:38 +02:00
  • 34eda37f25 README update. hanez 2025-09-17 18:04:35 +02:00
  • 74f01c2a41 README update. hanez 2025-09-17 16:04:16 +02:00
  • 53354d3db9 Comment fix because of setting FUN_DEBUG=OFF. hanez 2025-09-17 13:12:50 +02:00
  • 2a189c83d5 Disabled FUN_DEBUG for now. Fun just works... ;) Johannes Findeisen 2025-09-17 13:07:33 +02:00
  • 2b043fbad0 Some typo fixes reported by Clang. This is tested on Linux (Alpine and Artix) and FreeBSD. hanez 2025-09-17 13:02:00 +02:00
  • 57719279c7 Changed number from Uint64 to Sint64. hanez 2025-09-17 10:03:40 +02:00
  • 0ceebfbdad Added S as a prefix to signed integers to make more consistent. E.g.: sint8 instead of int8. hanez 2025-09-16 12:59:44 +02:00
  • 3f5fabae92 Signed Integers. hanez 2025-09-16 12:38:47 +02:00
  • 6d3456b62c Integer/Number and uint(8,16,32,64bit) fun... ;) hanez 2025-09-16 12:29:28 +02:00
  • c641599366 Some variable refactoring in vm.h and cleanups. hanez 2025-09-16 11:59:48 +02:00
  • 6b14c2776e Added line numbers to debug and error output. hanez 2025-09-16 11:23:42 +02:00
  • 1958850d87 Housekeeping in ./examples/. hanez 2025-09-16 09:06:44 +02:00
  • 24f5f7517c More examples documentation and just small fixes. hanez 2025-09-16 07:45:19 +02:00
  • d21378c869 Strict syntax checking! hanez 2025-09-16 07:09:31 +02:00
  • 5898668237 Just a quoting test... ;) hanez 2025-09-16 06:39:01 +02:00
  • e61c68c277 Some housekeeping and refactoring. hanez 2025-09-16 05:39:43 +02:00
  • cfdeb4a22f Just removed some chaos in the VM. hanez 2025-09-16 05:16:27 +02:00
  • 228615db18 Some more opcode refactoring. (0.3.1) hanez 2025-09-16 04:51:49 +02:00
  • f0f93689c3 .gitignore update. hanez 2025-09-16 04:13:32 +02:00
  • 4686e38907 Fixed implementation error, that disallowed function definitions at the begiinng of .fun files. hanez 2025-09-16 03:49:28 +02:00
  • 7e9f24114e Added typeof opcode to verify variable types. hanez 2025-09-16 03:45:25 +02:00
  • d7843274ee Added tons of opcode documentation, changed license to ISC and a lot of file refactoring. hanez 2025-09-16 02:11:22 +02:00
  • 50a91d0b6f Refactored all OP_ functions to vm/CATEGORY/ and renamed the files. hanez 2025-09-15 23:26:42 +02:00
  • 108be8c41e Some more refactoring. hanez 2025-09-15 09:01:46 +02:00
  • 0e7fffcfe0 ufff hanez 2025-09-15 08:39:41 +02:00
  • c8b8dd820e Basic objects. hanez 2025-09-15 07:52:03 +02:00
  • 031d23bcc3 Some housekeeping. hanez 2025-09-15 06:50:54 +02:00
  • 13919ad87d Tons of refactoring and some fixes and enhancements... ;) hanez 2025-09-15 06:31:32 +02:00
  • d1bbd2e501 Built-ins: Maps and more... ;) hanez 2025-09-15 04:41:11 +02:00
  • a4f4fcba99 More built-ins. hanez 2025-09-15 03:59:03 +02:00
  • 559400a866 Added to_string() and to_number() functions as built-ins. hanez 2025-09-15 03:45:26 +02:00
  • d67c541824 Added nested loop example and some more comment in other examples. hanez 2025-09-15 03:34:49 +02:00
  • 0b48aa3e0c Loops, break and continue. hanez 2025-09-15 03:21:57 +02:00
  • 879801cbfc Array iteration. hanez 2025-09-15 03:03:00 +02:00
  • 66191b1642 More advanced array functionality. hanez 2025-09-15 01:53:41 +02:00
  • af16311ed5 Added simple arrays. hanez 2025-09-15 01:36:20 +02:00
  • 0b6cab8672 Added version header to REPL. hanez 2025-09-15 01:24:02 +02:00
  • f31bf270bd REPL: Smarter multiline prompting by detecting open blocks via indentation, and when FUN_DEBUG is ON, append parse errors as comments to the history file. hanez 2025-09-15 01:21:50 +02:00
  • 08e7c9a623 More REPL enhancements. Type :help in the REPL to get more information. hanez 2025-09-15 01:13:13 +02:00
  • 0704640893 Some REPLK enhancements. Type :help in the REPL to get more information. hanez 2025-09-15 01:02:19 +02:00
  • 56289e87a2 Some REPL enhancements like a history, better error messages and some Makefile enhancements. hanez 2025-09-14 22:35:23 +02:00
  • b69c8305f6 Added --help/-h and --version/-V. So, this is version 0.2.0 of Fun! :) hanez 2025-09-14 21:59:26 +02:00
  • dbd8b73134 Added install routine to CMake and added a classic Makefile as a wrapper for easy building. hanez 2025-09-14 21:29:05 +02:00
  • 05818899fe Short circiut (||, &&) hanez 2025-09-14 21:10:52 +02:00
  • 3a2afdea69 Added a simple REPL. hanez 2025-09-14 18:42:23 +02:00
  • 238a9a3bbe For range() loops. hanez 2025-09-14 17:06:42 +02:00
  • ef77378ab4 String concatination. hanez 2025-09-14 15:58:50 +02:00