90 likes | 168 Views
This version of JDBLisp introduces new functions for improved architecture understanding and supports both static and dynamic scoping with type judgements. It now allows sorting and reversing functionalities, and enhances error detection for type mismatches. The demonstration showcases the inner workings of these updates.
E N D
JDBLisp v3.0 Dino Camingue Blake Gilstrap Xuejian Tom Yu
Goals • Add various functions to better grasp the JDBLisp architecture • Have let and letd enable both static and dynamic scoping under a single JDBLisp environment. • Add Type Judgements for various operations in JDBLisp
Functions • Sort • Reverse
Previous Functionality Originally JDBLisp could only evaluate static scoping
Current Functionality Our JDBLisp is able to accept a let and letd and perform both static and dynamic scoping respectively. *Demonstration*
Inner Workings We were able to achieve this by having a letd tag passed around Used two tables to bind values correctly depending on scoping
Previous Functionality In v2.0 errors with type mismatches could only be caught as a function evaluates.
Current Functionality Our JDBLisp is able to recursively check the AST for type mismatches before evaluation. *Demonstration*