Commit Graph

  • 3e53f3720f Removed irrelevant comment Emin Arslan 2025-10-16 22:31:12 +03:00
  • d0accebf73 Changed the addition and subtraction functions to be clearer Emin Arslan 2025-10-16 22:28:11 +03:00
  • 9b20547e84 Added def, changed naming, and added if expressions Emin Arslan 2025-10-16 17:15:04 +03:00
  • dec68856f3 Evaluation is now performed properly, mimicking Common Lisp, and basic defun and defmacro definitions are provided (automatically executed on startup) Emin Arslan 2025-10-14 22:26:00 +03:00
  • 365595a345 Added dot syntax for lists, and proper quote syntax. LQuoted is now unused Emin Arslan 2025-10-14 22:24:57 +03:00
  • df0b3178f0 Improved the repl to return to evaluation upon error. Also added an exit command Emin Arslan 2025-10-14 21:06:11 +03:00
  • bb0ec74ee7 Added builtin special forms, lambda forms and bind-symbol. got rid of bind-function, as it is now unnecessary. it is now possible to create functions! Emin Arslan 2025-10-14 21:05:10 +03:00
  • aaafe1c3e6 Re-organized a lot of code, changed functions so that functions capture the surrounding environment and execute in that environment Emin Arslan 2025-10-14 20:21:29 +03:00
  • f9e96b1bd4 General style changes, nothing major Emin Arslan 2025-10-14 19:01:29 +03:00
  • 354e9b355b Added bind-function primitive that allows us to define functions, also changed evaluation to allow for a persistent environment Emin Arslan 2025-10-12 21:58:54 +03:00
  • 4535d57d21 Initial state - basic lexer + parser + interpreter Emin Arslan 2025-10-12 21:33:57 +03:00