EoI : Lectures 1-5 complete

This commit is contained in:
2022-07-20 09:27:19 -04:00
parent 9eba81139d
commit f85c9615e4
24 changed files with 736 additions and 21 deletions

17
App/RegM/Readme.md Normal file
View File

@@ -0,0 +1,17 @@
# Automata: RegEx Machines
![Img](https://i.imgur.com/NWwBjhN.png)
## Lectures
Contains notes taken from the lecture vods.
## Scripts
Contains some implementation from the lectures but I have no completed it yet...
I made my own context-free version of the language callled "SRegEx"
This is mainly what I wanted at the end of the day...
Currently the script only translates to RegEx,
I still need to make RegEx to SRegEx

View File

@@ -1,7 +1,7 @@
[gd_scene load_steps=4 format=2]
[ext_resource path="res://Assets/Branding/RegM_Class_cover_small.png" type="Texture" id=1]
[ext_resource path="res://Assets/Styles/EditorTheme.tres" type="Theme" id=2]
[ext_resource path="res://Assets/Styles/Purple.EditorTheme.tres" type="Theme" id=2]
[ext_resource path="res://RegM/Scripts/RegM_Viewer.gd" type="Script" id=3]
[node name="RegM_Panel" type="Panel"]

View File

@@ -257,7 +257,7 @@ class ASTNode:
}
return result
const NodeType = \
const NodeType : Dictionary = \
{
expression = "Expression",
@@ -1074,4 +1074,3 @@ func transpile_OpNot(node : ASTNode):
result += transpile_Set(entry, true)
return result