SkillAgentSearch skills...

Profane

Scripting language for derps

Install / Use

/learn @NerdCats/Profane
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Profane

Profane was written as a sample code / proof of concept of a language that is

  • ANTLR4 lexed and parsed
  • Transpiled to C#
  • Fed into roslyn C# script engine for execution

This comes with a very simple and limited grammar so the capabilities are pretty limited too. Please look at the Profane.g4 file under Profane.Core project for better understanding.

Sample code in Profane:

derp a = 20 :) #Initialization

# basic if-else 
a > 2 ???
yep -> 
    a = 5 :)
kbye

# print
dump a :)

The Profane project comes with a nancy module that accepts code as plain text in a HTTP POST and compiles it. Was built to put up a simple test code page in mind.

Everything .net in Profane is written in .net core

View on GitHub
GitHub Stars20
CategoryEducation
Updated2y ago
Forks3

Languages

C#

Security Score

80/100

Audited on Sep 27, 2023

No findings