Skip to content

Commit a9f06da

Browse files
vkug
1 parent 728de3c commit a9f06da

File tree

5 files changed

+22
-13
lines changed

5 files changed

+22
-13
lines changed

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# GBHS Coding Club Website
22

3-
Everybody wins!
3+
Everybody wins!

Diff for: index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<meta charset="UTF-8">
66
<meta http-equiv="X-UA-Compatible" content="IE=edge">
77
<meta name="viewport" content="width=device-width, initial-scale=1.0">
8-
<!-- yo josh, why is replit not updating github? -->
8+
99
<!-- Google fonts -->
1010
<link rel="preconnect" href="https://fonts.googleapis.com">
1111
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>

Diff for: people/Kristopher-Iliev/index.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@ <h1>
2626
<p>
2727
Enjoy your stay!
2828
</p>
29-
<!-- Not sure honestly, Ask Josh Later -->
29+
<!-- Div in Body with no command makes text -->
3030
<div>
3131
Hey I was supposed to say that!
3232
</div>
33-
33+
3434
<!-- An image -->
35-
<img src="./Amogus.jpg"/>
35+
<!-- <img src="./Amogus.jpg"/> -->
3636
</div>
3737

3838
<script src="./main.js"></script>

Diff for: people/ProgrammingParadox/scripts/main.js

+11-3
Original file line numberDiff line numberDiff line change
@@ -27,24 +27,32 @@ Lexer.prototype.eatWhitespace = function(){
2727
Lexer.prototype.eat = function(){
2828
let token = {
2929
value: "",
30+
type: "",
3031
};
3132

3233
let cur = this.text[this.index];
3334

3435
while((cur = this.text.charAt(this.index)).match(/[^\s\n]/)){
3536
token.value += this.text.charAt(this.index);
3637

37-
console.log(this.index, token.value);
38-
3938
this.index ++;
39+
40+
let v = token.value;
41+
let p = v + this.peek();
42+
43+
if(["++", "--"].indexOf(v) !== -1){ token.type = "operator"; break; }
44+
45+
if(v.match(/^([0-9]+)$/) && !p.match(/^([0-9]+)$/)){ token.type = "number"; break; }
4046
}
4147

48+
console.log(token);
49+
4250
this.eatWhitespace();
4351

4452
return token;
4553
};
4654

47-
let l = new Lexer("this is a test123 ++ -- + - +-");
55+
let l = new Lexer("this is a 123 test123 ++ -- + - +-");
4856
console.log(l.eat());
4957
console.log(l.eat());
5058
console.log(l.eat());

Diff for: people/ProgrammingParadox/styles/style.less

+6-5
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,12 @@ body {
1212
height: 100vh;
1313

1414
background-color: #113311;
15-
background: radial-gradient(
16-
closest-side,
17-
#224422,
18-
#001100
19-
);
15+
16+
// background: radial-gradient(
17+
// closest-side,
18+
// #224422,
19+
// #001100
20+
// );
2021

2122
color: #FFF;
2223
text-shadow: 0 0 5px #C8C8C8;

0 commit comments

Comments
 (0)