-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f240006
commit f5043de
Showing
88 changed files
with
11,503 additions
and
27 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title>Replication Materials</title> | ||
<h1> | ||
Replication Materials | ||
</h1> | ||
<p>Please find all the materials required for replicating the Explicit Programming Strategies here</p> | ||
<a href="http://programmingstrategies.org/ReplicationPackage/PreTest.pdf">Pretest.pdf</a> | ||
<a href="http://programmingstrategies.org/ReplicationPackage/PreTest.pdf">Pretest.pdf</a> | ||
<a href="http://programmingstrategies.org/ReplicationPackage/PreTest.pdf">Pretest.pdf</a> | ||
<a href="http://programmingstrategies.org/ReplicationPackage/PreTest.pdf">Pretest.pdf</a> | ||
</head> | ||
<body> | ||
|
||
</body> | ||
</html> |
File renamed without changes.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
<!DOCTYPE html> | ||
<html lang="en" ng-app="myAdmin"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<link rel="stylesheet" type="text/css" href="css/admin-styles.css"/> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> | ||
<!-- Bootstrap -->T | ||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" | ||
integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous"> | ||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" | ||
integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous"> | ||
<link href="bootstrap/css/bootstrap.min.css" rel="stylesheet"> | ||
<link rel="stylesheet" type="text/css" | ||
href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"/> | ||
<!--<script src="https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.6.5/angular.min.js"></script>--> | ||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" | ||
integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" | ||
crossorigin="anonymous"></script> | ||
<script src="https://www.gstatic.com/firebasejs/4.3.0/firebase.js"></script> | ||
<script src="js/admin-test.js"></script> | ||
<script src="js/comments.js"></script> | ||
<!--<script type="text/javascript" src="bower_components/angular-ui-ace/ui-ace.js"></script>--> | ||
<!--<script src="ace-builds-master/src-min-noconflict/ace.js" type="text/javascript" charset="utf-8"></script>script--> | ||
<title> Strategy Build Admin Page</title> | ||
</head> | ||
<body ng-controller="AdminCtrl"> | ||
<div class="header"> | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="col-md-5"> | ||
<div class="logo"> | ||
<h1><a href="Admin-backup.html"> Strategy Tracker Admin</a></h1> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<section class="container" > | ||
<div class="page-content"> | ||
<div class="row"> | ||
<div class="col-md-12" style="margin-bottom:20px;"> | ||
<div class="content-box-header"> | ||
<div class="col-md-10"> | ||
<select ng-model="selectedStrategy" | ||
ng-options= "s.displayName for s in allStrategies" | ||
ng-change = "strategyChanged()"> | ||
</select> | ||
<h1 id="stratHeader">{{selectedStrategy.displayName}}</h1> | ||
<!--<div id="aceEditor" style="min-height: 600px;"--> | ||
<!--ui-ace="aceOption" [autoUpdateContent]="true" ng-model="aceModel">--> | ||
<!--</div>--> | ||
</div> | ||
<div class="panel-options col-md-0.5"> | ||
<button ng-click="publish()" title="Publish changes to database " href="#" data-rel="reload"><i class="glyphicon glyphicon-export"></i></button> | ||
</div> | ||
<div class="panel-options col-md-0.5"> | ||
<button ng-click="addNewStrategy()" title="Making new strategy Json " href="#" data-rel="reload"><i class="glyphicon glyphicon-plus"></i></button> | ||
</div> | ||
</div> | ||
|
||
<div id="frmStrategyCreation"> | ||
<form class="form" action="#" > | ||
<br/> | ||
<label>Owner: <span></span></label> | ||
<br/> | ||
<input type="text" id="owner" placeholder="Owner of the strategy" ng-model="newStrategyOwner"/><br/> | ||
<br/> | ||
<label>Display Name: <span></span></label> | ||
<br/> | ||
<input type="text" id="displayName" placeholder="Display name" ng-model="newStrategyDisplayName"/><br/> | ||
<br/> | ||
<label>Strategy Name:</label> | ||
<br/> | ||
<input type="text" id="strategyName" placeholder="Name" ng-model="newStrategyName"/><br/> | ||
<br/> | ||
<!--<label>Strategy Type:</label>--> | ||
<!--<br/>--> | ||
<!--<input type="text" id="strategyType" placeholder="Type" ng-model="newStrategyType"/><br/>--> | ||
<br/> | ||
|
||
<br/> | ||
</form> | ||
<input type="button" ng-click="createStrategy()" value="Create"/> | ||
<input type="button" ng-click="cancelCreatingStrategy()" value="Cancel"/> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</section> | ||
</body> | ||
</html> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
const nearley = require("nearley"); | ||
const grammar = require("./grammar1.js"); | ||
|
||
// Create a Parser object from our grammar. | ||
const parser = new nearley.Parser(nearley.Grammar.fromCompiled(grammar)); | ||
// grammar.indented(lexer, `STRATEGY verifyAPIHasCommunity('apiName') | ||
// SET site's TO the website | ||
// Because its two lines long | ||
// IF site is nothing | ||
// RETURN nothing | ||
// This tests the dountil loop | ||
// UNTIL you have all the diamonds | ||
// Look over your shoulder for cops | ||
// RETURN assessRepositoryActivity(site)`) | ||
// | ||
// console.log(JSON.stringify(parser.results)); | ||
// parser.feed('\\lx Red\n' + | ||
// '\\ps Adjective\n' + | ||
// '\n' + | ||
// '\\lx Record\n' + | ||
// '\\ps Noun\n' + | ||
// '\\ps Verb\n' + | ||
// '\n' + | ||
// '\\lx All\n' + | ||
// '\\ps Adjective\n' + | ||
// '\\ps Adverb\n' + | ||
// '\\ps Noun'); | ||
|
||
|
||
parser.feed("strategy test('A') hello"); | ||
|
||
// parser.feed("Strategy test('A') " + | ||
// "DO something('dd')" + | ||
// "DO elsewhere('Nadidi')" + | ||
// "IF the guy talk bad "); | ||
// parser.feed("Statement"); | ||
|
||
// parser.feed("set 'c' to the last commit to the project"); | ||
// | ||
// parser.feed("IF site is nothing") | ||
// parser.feed("RETURN nothing "); | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.