-
Notifications
You must be signed in to change notification settings - Fork 0
AwsCompiler how to
The Describe Compiler AWS is an Amazon Web Services Lambda function project. It is built for hosting the Describe Compiler as a microservice, in the form of a lambda function. The project is licensed under the AGPL v3 public license.
The DescribeTranspiler.AWS Visual studio project contains few Amazon lambda functions that we upload to AWS Lambda and configure with HTTP APIs in the ASW API Gateway, in order to host the Describe Markup Language Transpiler as a micro-service, invoke-able from a URL. The way this works is as follows:
a) User makes a POST request on the HTTP API url.
b) Lambda function is triggered, receiving the data from the POST request.
c) Lambda decodes the base64 body of that request.
d) Lambda reads data from that request body to variables and checks some of it.
e) Lambda uses Arguments
class functions to fill up the Datnik
class with the before-mentioned data.
f) Lambda calls MainFunctions
to do the compilation.
g) MainFunctions.Compile
uses the data inside the Datnik
to compile the source code.
h) Lambda gets the result and base64 encodes it.
i) Lambda prepares the response object and returns it.
j) HTTP API response is returned.
Configuring the API Gateway
Technical overview
Describe Compilation
Use the CLI version
Use the API version
Home
Grammar How To
Compiler How To
CLI Compiler - How to
CLI Compiler - How to - help
CLI Compiler - How to - parse-file
CLI Compiler - How to - parse-folder
CLI Compiler - How to - encrypt-file
CLI Compiler - How to - decrypt-file
CLI Compiler - How to - recrypt-file
CLI Compiler - How to - encrypt-folder
CLI Compiler - How to - decrypt-folder
CLI Compiler - How to - recrypt-folder
API Compiler - How to
API Compiler - How to - Example 1
API Compiler - How to - Example 2
API Compiler - How to - Example 3
API Compiler - How to - Example 4
API Compiler - How to - Example 5
AWS Compiler - How to
AWS technical overview
API gateway configuration
output - low
output - medium
output - high
output - themes
Grammar - Lists
Grammar - Comments
Grammar - Links
Grammar - Decorators
Grammar - Tags
Grammar - More on Tags
Grammar - Directives
Grammar - Dot Notation
Grammar - Tildes
Grammar - Files
Deprecated - Slash Notation
Deprecated - Delimiter Mode
Describe Basics - v0.6
Describe Tags - v0.7
Describe Links - v0.8
Describe Decorators - v0.9
Describe Lines - v1.0
Describe Doubles - v1.1